$
ftp
->pasv_xfer
(
file1
,
server
, [
file2
])
Transfers a file between two remote servers. Arguments are:
-
file1
-
The file to transfer from the server represented by the Net::FTP object.
-
server
-
Destination server.
-
file2
-
New name of the file on the destination server. If omitted,
the original name is used.