Name

pasv_xfer

Synopsis

$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.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.