Page 1 of 1
Upload Dayfile
Posted: Tue 23 Aug 2011 4:28 pm
by n9mfk
hi all
i did this
http://wiki.sandaysoft.com/a/Upload_Day ... ble_Issues
if I type cmd in the search box
in the dos window i type ftp -s:c:\cumulus\dayfile.ftp myhost
an it all woks
but when i put in the batch file a window flashes but it does not update the file
thanks beau
Re: Upload Dayfile
Posted: Tue 23 Aug 2011 4:42 pm
by b.e.wilson
During that flash of the DOS window it's probably showing an error. Maybe the lack of an FTP server password, maybe something hinky with file overwrite permission, maybe the dayfile.ftp is really named dayfile.txt. Open the command window first, then run the .bat file, and see what happens.
Re: Upload Dayfile
Posted: Tue 23 Aug 2011 4:58 pm
by steve
And note that with the latest builds of Cumulus you can get it to execute that batch file just after 'rollover', rather than using Task Scheduler, if you wish. Using Cumulus instead probably won't resolve this problem you're having, though.
Re: Upload Dayfile
Posted: Tue 23 Aug 2011 5:38 pm
by n9mfk
Hi Bruce,
if i run it in the command window it works
it just if i click on the bat it doe not
beau
Re: Upload Dayfile
Posted: Tue 23 Aug 2011 9:47 pm
by b.e.wilson
Add a line after your ftp command, "pause," so you can see what's going on.
You might need to add the "-i" switch to turn off interactive prompts, once you have the bug corrected.