View Single Post

  #3  
Old 11-09-2005, 02:38 PM
TometaSoftware's Avatar
TometaSoftware Offline
Registered User
 
Join Date: Nov 2005
Location: Spokane, Washington
Posts: 12
Send a message via AIM to TometaSoftware Send a message via Yahoo to TometaSoftware
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]
Reply With Quote