Rex::Co...Download(3)
π Rex::Commands::Download(3) β Download remote files π
okay so this is the manual page for Rex::Commands::Download, bestie β youβll also see it hanging out as Rex::Co...Download(3) in the User Contributed Perl Documentation. Slay. β¨
β¨ NAME β¨
Rex::Commands::Download β Download remote files. Periodt. π«Ά
π DESCRIPTION π
With this module you can download a remotefile via sftp, http, and ftp from a host to your local computer. Itβs giving βfile transfer but make it main character energy.β π
Version <= 1.0: All these functions will not be reported. π no cap, thatβs literally the warning.
πΈ SYNOPSIS πΈ
Quick vibe check β hereβs the sftp and http situations:
# sftp
task "download", "remoteserver", sub {
download "/remote/file", "localfile";
};
# http
task "download2", sub {
download "http://server/remote/file";
};
π EXPORTED FUNCTIONS π
download($remote, [$local])
Perform a download. If no local file is specified, it will download the file to the current directory. Simple as that, bestie. π
Like this:
task "download", "remoteserver", sub {
download "/remote/file", "localfile";
};
task "download", sub {
download "http://www.rexify.org/index.html", "localfile.html";
};
Source/version and date check: this page comes from perl v5.42.3, dated 2023-08-05, and the page tag is Rex::Co...Download(3). Thatβs the whole manual β mwah! π
π«Ά
π¦ where this page comes from
- nixos 26.05: perl5.42.3-Rex 1.14.3
- nixpkgs unstable: perl5.42.3-Rex 1.14.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms