Return to Snippet

Revision: 65169
at November 3, 2013 15:18 by ktrout


Initial Code
/***************************
 *  download_file.sh   *
 **************************/
#!/bin/sh
HOST='ftp.users.qwest.net'
USER='yourid'
PASSWD='yourpw'
FILE='testdown.html'
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
get $FILE
bye
END_SCRIPT
exit 0

Initial URL

                                

Initial Description
simple ftp download example

Initial Title
ftp download example

Initial Tags
download

Initial Language
Bash