Name

Put

Synopsis

$FTP ->Put( file, [remote, context])

Description

Upload the local file to the FTP server, saving it under the name remote, which if omitted is the same name as file. Returns undef on error. context is a number to identify this operation if it is asynchronous. See SetStatusCallback and GetStatusCallback for more information on asynchronous operations.

Get Perl in a Nutshell 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.