Monday, October 30, 2006

TinyApps.Org : Scripting FTP.exe

TinyApps.Org : Scripting FTP.exe: "An often overlooked feature of the Windows command line ftp program is that it can be scripted. The script is simply a text file containing exactly what you would have typed if using it interactively. For example, if you create a text file called 'updatewebsite' containing something similar to this: lcd \mylocalwebpages open someftpserver.somedomain.org myusername mypassword cd httpd/docs prompt mput *.html binary mput *.jpg mput *.png bye you can then update your web site by typing this at the command line: ftp -s:updatewebsite"

0 Comments:

Post a Comment

<< Home