hey all,
I got me a new website that creates and stores some files. I'm trying to write a very small ftp script to automatly download it for me, but I'm having some issues..
this is what I've got...
ftp.bat
ftpscript.txt
but if I run the batch file, it hangs. I've removed the @Echo to de-bug but it just seems to run, "ftp -s:ftpscript.txt ftp.myhost.com" over and over again.
any ideas why??
I got me a new website that creates and stores some files. I'm trying to write a very small ftp script to automatly download it for me, but I'm having some issues..
this is what I've got...
ftp.bat
Code:
@echo off
ftp -s:ftpscript.txt ftp.myhost.com
exit
ftpscript.txt
Code:
cd data
mget *.*
bye
but if I run the batch file, it hangs. I've removed the @Echo to de-bug but it just seems to run, "ftp -s:ftpscript.txt ftp.myhost.com" over and over again.
any ideas why??