That does work and i been using that.. but what happens if i need to do FTP
over the socks serve?
please help me with that.
> Hi Everyone,
> i need to write a DOS-Script to FTP a file to an External Server from
> our network using SOCKS Server. Right now i use Reflection FTP Client
> and i have set my Sock server there. But this is a manual process so i
> need to convert this to a Automated process. Preferably a DOS based
> process. Now i use the following script in a DOS Batch file to FTP the
> file to one of our internal Server...
> open myserver.com
> user anonymous anonymous
> cd pub
> put test.dat test.dat
> please help me with this.
Put these commands into a text file called c:\ftpcommand.txt
user anonymous anonymous
put test.dat test.dat
Next we will asume that your FTP program is called DOSFTP.EXE and is in
the COMMANDS directory. Now make c:\sendftp.bat with the following line:
This will run your program feeding in those command lines. This all
asumes that your program is well behaved.