|
I typically create a config file that hoses the main information - for example
config.cfg containing
username
password
prompt
binary
cd data
mput *.jpg
mput *.gif
mput *.png
bye
Then create a send.bat containing:
ftp -s:config.cfg ftp.server.com
If you really want to get fancy you can then create a third batch file called start.bat with the command:
send.bat > log.txt
That will log the whole transfer to a txt file so you can check for errors.
this instance was used to move images.
__________________
Brandon L. Marchand
Tometa Software, Inc.
[url]http://www.tometasoftware.com[/url]
|