Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
FTP script
Name: jul Date: July 17, 2003 at 12:22:06 Pacific OS: win200 CPU/Ram: 4
Comment:
Hi,
Can anybody provide commands that I need to run for putting file to FTP. At this case I have proxy between my PC and FTP server. I know proxy_name, id and pwd for proxy. When I use commercial FTP client I can do it. How can I do it with DOS script?
Name: Michael Metzger Date: July 21, 2003 at 12:31:35 Pacific
Reply:
From the bat file.
cd dirname cd dirname ftp -s:[path]filename
Example: cd \ cd c:\ ftp -s:c:\ftpcomm.txt
In the ftpcomm.txt put your ftp commands. First line should be username then carriage return then password then carriage return. Then ftp commands mget *.* etc. Then close the connection with bye. The batch file will run then run the ftpcomm.txt and return control back to the dos bat file that started the whole process. Any questions just email.
Summary: When the FTP completes successfully the FIND command searching for string "RNTO command successful" generates a success transmission message. IT works when IT works... However, when I direct the FTP ...
Summary: Need to know if I can create a small script or program that allows me to highlight file/files with my mouse on my PC, right click and then choose to ftp the files to a remote location. Can someone hel...