Rex::C...ownload(3pm)
π Rex::Commands::Download π
okay bestie, welcome to Rex::Commands::Download β straight out of the User Contributed Perl Documentation collection, and yeah the page title is literally Rex::C...ownload(3pm) because someone let the truncation cook, but we move β¨
πΈ NAME πΈ
Rex::Commands::Download β download remote files, that's the whole vibe π«Ά
π¦ DESCRIPTION π¦
so with this module you can download a remotefile via sftp, http and ftp from a host straight to your local computer. like, it's giving file transfer main character energy π
β οΈ heads up bestie: Version <= 1.0: All these functions will not be reported. periodt.
β¨ SYNOPSIS β¨
here's how it actually looks, no cap:
# 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. and listen β if no local file is specified, it will download the file to the current directory. it just handles it. iconic behaviour fr fr.
task "download", "remoteserver", sub {
download "/remote/file", "localfile";
};
task "download", sub {
download "http://www.rexify.org/index.html", "localfile.html";
};
so like, $remote goes in, $local is optional but lowkey recommended unless you're cool with files just appearing in your cwd (which, valid, do you boo π).
and that's the whole page bestie, every flag, every arg, every example kept intact, nothing skipped π
anyway this lil beauty came from perl v5.40.1, dated 2025-10-03, and it's filed under Rex::C...ownload(3pm). go download something cute, slay, bye ππ¦π
π¦ where this page comes from
- ubuntu resolute: rex 1.16.1-1 Β· Apache-2.0
- ubuntu stonking: rex 1.16.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms