Australia/Sydney
BlogOctober 31, 2010

Using FTP Get in Shell Script in Solaris

Fahd Mirza
Just sharing a small but useful shell script which gets a file from remote server.

#!/bin/sh
HOST=''
USER=''
PASSWD=''
FILE=''
ftp -n $HOST <
quote USER $USER
quote PASS $PASSWD
bin
get $FILE
quit
END_SCRIPT
exit 0
Share this post:
On this page

Let's Partner

If you are looking to build, deploy or scale AI solutions — whether you're just starting or facing production-scale challenges — let's chat.

Subscribe to Fahd's Newsletter

Weekly updates on AI, cloud engineering, and tech innovations