Hi Mark
My Cumulus settings are "Auto update" & "Use FTP Rename" ticked.
Delete and put sounds good....i'll give it a try.
OK....tried adding delete although that probably wasn't a problem because I had tried removing the file from the server before running the script.
Partial result:-
230 Login successful.
ftp> debug
Debugging On .
ftp> lcd c:\!Downloads
Local directory now C:\!Downloads.
ftp> quote PASV
---> PASV
227 Entering Passive Mode (202,174,112,121,240,209)
ftp> binary
---> TYPE I
200 Switching to Binary mode.
ftp> cd www/weather/data
---> CWD www/weather/data
250 Directory successfully changed.
ftp> delete www/weather/data/test.txt
---> DELE www/weather/data/test.txt
550 Delete operation failed.
ftp> put c:\!Downloads\test.txt
---> PORT 10,1,1,200,216,157
200 PORT command successful. Consider using PASV.
---> STOR test.txt
150 Ok to send data.
Hangs on that last line and ctrl C to get out of it.
Creates the file but no content.
Also ran the delete line initially as delete test.txt as I was already in the correct directory, but with no joy.
Later in the day. My Host says there is a problem with PASV mode not supported in Windows FTP programme.
http://support.microsoft.com/kb/271078/en-us. I've also tried "MoveMeFreely FTP programme that does support PASV but still no joy.
It looks like there is a problem when the host runs PASV mode which most probably do.