You are not logged in.
Pages: 1
Hi,
I have been reading up on the FTP commands in the SS64 documents and I was wondering if it is possible to run a series of FTP commands without using an external script (i.e. commands.ftp). I would like to be able to connect to a server via FTP, login, run a few commands, then close the FTP connection all within the same BAT file but there don't appear to be any examples of that in the SS64 docs.
Thanks,
Si ++
Offline
I'm pretty sure the only way to do that would be with a utility like AutoIT or scriptit
http://www.ss64.com/nt/scriptit.html
other approaches are: have the batch file build the script with a series of ECHO statements, run the FTP and then DEL the script.
or you may want to look at third party FTP clients.
Offline
Thanks for the reply, Simon.
I think I will get the batch file to build the script with echo statements, it seems like the best thing to do at the moment. This will just be a little utility file for my Flex SDK 2 toolset thing, it will just need to upload a small number of files so a third part client isn't really needed (or would be overkill).
Offline
Pages: 1