Rex::Commands::Upload(3pm) | User Contributed Perl Documentation | Rex::Commands::Upload(3pm) |
Rex::Commands::Upload - Upload a local file to a remote server
With this module you can upload a local file via sftp to a remote host.
task "upload", "remoteserver", sub { upload "localfile", "/remote/file"; };
Perform an upload. If $remote is a directory the file will be uploaded to that directory.
task "upload", "remoteserver", sub { upload "localfile", "/path"; };
This function supports the following hooks:
The return value of this hook overwrites the original parameters of the function-call.
2023-03-06 | perl v5.36.0 |