Hello, please sign in or register
You are here: Home

FTP downloading using bash

I got to grab a 5 gb file over an FTP. Since it takes over a day i found this bash script to cron the job and autorun in the early hours of the morning.

#!/bin/sh  ftp -n ftpsite.com <
quote user ausername
quote pass apassword
binary
get remote_file local_file
quit
!

For small files

ftp run in the command line is intuitive to use.

Comments

Title*
Comment

Prove you are not a robot

To prove you are not a robot, please type in the six character code you see in the picture below
Security confirmation codeI can't see this!
Contact
Name*
Email never shown*
Home Page

Author

Andrew Dodson
Since:Feb 2007

Comment | flag

Categories

Bookmark and Share