Rex::Co...Download(3)

πŸ“¦ version 1.14.3, in nixos 26.05, nixpkgs unstable

πŸ’– 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