August 20, 2008

FTP script for Linux


#!/bin/sh
USER=userid
PASSWD=userpw
ftp -n f2dev <<SCRIPT
user $USER $PASSWD
binary
get some.file
quit
SCRIPT


more at http://www.inlumineconsulting.com:8080/website/scripting.ftp.html

No comments:

Post a Comment