lftp -c 'open -e "mget -d *.el5.rf.i386.rpm" http://packages.sw.be/clamav/'This needs to be executed from a terminal. Also packages, LFTP and MGET needs to be present.
Saturday, August 22, 2009
Bulk downoading files from a webserver folder accessible via FTP
Suppose, if we need to download all files from a web folder, accessible via FTP, we can use LFTP command to do that. For example, in one website, under the "clamav" folder, I need to download all RPM files from there. So instead of downloading that one by one, I can do so by the command below:
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment