-
- Distribution: Rex
- Module version: v1.13.3
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository (git clone)
- Issues
- Testers (246 / 0 / 4)
- Kwalitee
- 49.27% Coverage
- License: apache_2_0
- Perl: v5.10.1
- Activity
- 24 month
- Tools
- Download (341.36Kb) 0
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 117 contributors
- Jan Gehring
- A Happy User
- Alexander Romanenko
-
Alexandr Ciornii
- Alex Mestiashvili
- Ali Polatel
- alx542
- Anders Ossowicki
- Andrej Zverev
- Andrew Solomon
-
Andy Beverley
- Arnold Bechtoldt
- Boris Däppen
- Brian Manning
- Cameron Daniel
- Chris Steigmeier
- Christophe Wolfhugel
- Crimson Thompson
- Daniel Bäurer
- Daniel Cesario
- Daniel Dico
- Denis Silakov
- Dmitry Kopytov
- Dominik Schulz
- E. Choroba
- Eduardo J
- Eivin Giske Skaaren
- elisdg
- Elmer Quintanilla
- Eric Johnson
- Erik Huelsmann
- Ferenc Erki
- Franky Van Liedekerke
- Fran Rodriguez
- Graham Todd
- Harm Müller
-
Hayato Imai
- Hiroaki Nakamura
- Hiroki Matsuo
- iblinder
-
Ilya Pavlov
- James D Bearden
- jdelgado7
- Jean Charles Passard
-
Jean-Marie Renouard
-
Jeen Lee
- Jens Berthold
- Joachim Bargsten
- John Karr
- Jon Gentle
- Joris DE POOTER
- Jose Luis Martinez
- Jose Luis Perez Diez
- Kasim Tuman
- Keedi Kim
- Ken Crowell
- Kent Fredric
- Kirill Babikhin
- labbeduddel
- Leah Neukirchen
- LeMerP
- Mario Domgoergen
- Max E. Aubrey
- Mitch Broadhead
- Nathan Abu
-
Naveed Massjouni
- necrophcodr
- Nicolas Leclercq
- Nigel Gregoire
- Nikolay A. Fetisov
- Nils Domrose
- okaoka
- Oleg Hardt
- Olivier Cherrier
- Orange
- Paco Esteban
- Patrick Lauer
- Pavel Timofeev
-
perlancar
- Peter H. Ezetta
- Peter Manthey
- petersonchen
- Pierrick DINTRAT
- Piotr Karbowski
-
Prajithp
- Randy Lauen
- Renée Bäcker
- Robert Abraham
- Roy Storey
- Samuele Tognini
- Sascha Askani
- Sascha Guenther
- Simon Bertrang
- Solène Rapenne
- Stephane Benoit
-
Steve Dondley
- Sven Dowideit
- Tamas Molnar
- Tianon Gravi
- Tokuhiro Matsuno
-
Tomohiro Hosaka
- Volker Kroll
- Walery Wysotsky
- Yanick Champoux
- Yegor Korablev
-
Zane C. Bowers-Hadley
- Сергей Романов
- 范野人
-
饶琛琳
- Cuong Manh Le
- David Golovan
- Dominik Danter
- Ilya Evseev
- Niklas Larsson
- Qiao Liu
-
Renato CRON
- Peter Jankovics
- Dependencies
- attributes
- AWS::Signature4
- base
- Carp
- constant
- Cwd
- Data::Dumper
- Data::Validate::IP
- Devel::Caller
- Digest::HMAC_SHA1
- Digest::MD5
- English
- Exporter
- Fcntl
- File::Basename
- File::Spec
- File::Spec::Unix
- File::Spec::Win32
- FindBin
- Hash::Merge
- HTTP::Request
- HTTP::Request::Common
- IO::File
- IO::Select
- IO::Socket
- IO::String
- IPC::Open3
- JSON::MaybeXS
- lib
- List::Util
- LWP::UserAgent
- MIME::Base64
- Net::OpenSSH::ShellQuoter
- overload
- POSIX
- Scalar::Util
- Sort::Naturally
- Storable
- strict
- Symbol
- Term::ReadKey
- Test::Builder::Module
- Text::Glob
- Text::Wrap
- Time::HiRes
- UNIVERSAL
- URI
- URI::QueryParam
- vars
- version
- warnings
- XML::Simple
- YAML
- and possibly others
- CPAN Testers List
- Reverse dependencies
- Dependency graph
NAME
Rex::Commands::Download - Download remote files
DESCRIPTION
With this module you can download a remotefile via sftp, http and ftp from a host to your local computer.
Version <= 1.0: All these functions will not be reported.
SYNOPSIS
# 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.
task "download", "remoteserver", sub {
download "/remote/file", "localfile";
};
task "download", sub {
download "http://www.rexify.org/index.html", "localfile.html";
};
Module Install Instructions
To install Rex::Commands::Download, copy and paste the appropriate command in to your terminal.
cpanm Rex
perl -MCPAN -e shell install Rex
For more information on module installation, please visit the detailed CPAN module installation guide.