$
FTP
->Put(
file
, [
remote
,
context
]
)
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.