Page 2 of 2
Re: Automating the upload of dayfile.txt
Posted: Sat 12 Mar 2011 11:16 am
by mcrossley
Terry, if your host requires PASV mode, then you cannot use the MS command line FTP client, you will have use to use something else.
Re: Automating the upload of dayfile.txt
Posted: Sat 12 Mar 2011 7:52 pm
by Super-T
They suggested MoveItFreely.....with the same result :-/
Re: Automating the upload of dayfile.txt
Posted: Sun 13 Mar 2011 11:19 pm
by Super-T
I have found the problem, with the help of my hosting service.
The host requires passive mode so you need to put a -a in the bat file.
Microsoft FTP doesn't support passive mode.
ftp.bat
ftps -a -s:daily.ftp
(ftps is from the "moveItFreely" ftp programme)
http://www.brothersoft.com/moveit-freely-89144.html Or some other.
Then the daily.ftp would be:-
open linux11.digiweb.net.nz
mylogin
mypwxxxxxx
put test.txt
bye
Change your settings to suit.