rasy has asked for the wisdom of the Perl Monks concerning the following question:

What is the FTP command to send a file from one server to a different server?

Replies are listed 'Best First'.
Re: OT: FTP file transfer
by kennethk (Abbot) on Sep 29, 2015 at 00:00 UTC
    Unless you actually mean Net::FTP, this is not a Perl question, and thus outside the scope of this site. Asking a question like this, particularly as briefly as you have phrased it, and not connecting it to a Perl need, is poor form and a very good way to get a whole bunch of downvotes.

    This is particularly egregious as if I literally type your question into Google: What is the FTP command to send a file from one server to a different server? I get useful results. Keep in mind that you will log into one server, likely via ssh, and then connect via the FTP protocol to your second server.


    #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Re: OT: FTP file transfer
by afoken (Chancellor) on Sep 29, 2015 at 05:21 UTC

    Are you looking for FXP?

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: OT: FTP file transfer
by karlgoethebier (Abbot) on Sep 29, 2015 at 08:28 UTC

    From ftp:

    put local-file [remote-file] Store a local file on the remote machine. If remote-file is left unspecified, the local file name is used after processing according to any ntrans or nmap settings in naming the remote file. File transfer uses the current settings for type, format, mode, and structure.

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»