Page 1 of 1

FTP not uploading

Posted: Tue 28 Jan 2014 6:35 pm
by cc_rider
Hello,
I have just setup a webcam with the yawcam software. It is creating a file series called image00.jpg - image96.jpg. As indicated in yawcam dox, image00.jpg is always the newest file created, which is perfect. :D I have these created at 15 minute intervals. It appears that yawcam does not resolve the filename properly and I get a FTP Error: 553 Prohibited file name: c:\cumulus\webcam error. Hmmmmm.

Now on to the Cumulus problem..
I have configured Cumulus to upload only a single file: c:\cumulus\webcam\image00.jpg (created by yawcam)
Other options ticked are: binary? and FTP?. No other files are to be uploaded, so the include standard files/images, solar/uv/sunshine options are UN-checked.

FTP logging is on. The session is established, but it appears no attempt is made to upload a file. (The file does exist!) No ftp errors are encountered. The ftp popup window shows a logging in and a logging off entry.

Any suggestions?

Here is part of my log:

...
12:55:41:145 FTP Response: 230 OK. Current directory is /
12:55:41:145 >|230 OK. Current directory is /|

12:55:41:145 ! HighLevelAsync 0
12:55:41:145 ! HighLevelAsync done
12:55:41:153 Getting directory listing
12:55:41:153 FTP Command: PWD
12:55:41:155 05818A20 TriggerDataSent 748
12:55:41:881 FTP Response: 257 "/" is your current location
12:55:41:881 >|257 "/" is your current location|

12:55:42:154 ! HighLevelAsync 0
12:55:42:154 FTP Command: PASV
12:55:42:154 05818A20 TriggerDataSent 748
12:55:43:035 FTP Response: 227 Entering Passive Mode (38,102,137,106,55,223)
12:55:43:035 >|227 Entering Passive Mode (38,102,137,106,55,223)|

12:55:43:035 ! HighLevelAsync 0
12:55:43:036 ! Data Socket Connect
12:55:43:036 058191E0 Socket handle created 1292
12:55:43:036 TWSocket will connect to 38.102.137.106:14303
12:55:43:037 FTP Command: NLST
12:55:43:037 05818A20 TriggerDataSent 748
12:55:43:038 ! Data Session Connected (Get)
12:55:43:038 058191E0 TriggerDataSent 1292
12:55:43:945 FTP Response: 150 Accepted data connection
12:55:43:945 >|150 Accepted data connection|

12:55:43:950 ! Data Session closed
12:55:43:950 ! Next3GetAsync
12:55:43:950 058191E0 TCustomWSocket.Shutdown 1 1292
12:55:43:950 FTP Response: 226 0 matches total
12:55:43:950 >|226 0 matches total|

12:55:43:950 ! Next3GetAsync
12:55:43:950 ! HighLevelAsync 0
12:55:43:950 ! HighLevelAsync done
12:55:44:159 Aborting and Logging out (FTP.Quit)
12:55:44:159 FTP Command: QUIT
12:55:44:159 05818A20 TriggerDataSent 748
12:55:44:886 FTP Response: 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
12:55:44:886 >|221-Goodbye. You uploaded 0 and downloaded 0 kbytes.|

12:55:44:886 FTP Response: 221 Logout.
12:55:44:886 >|221 Logout.|

12:55:44:886 FTP Session Closed
12:55:44:886 05818A20 TCustomWSocket.Shutdown 1 748

Re: FTP not uploading

Posted: Tue 28 Jan 2014 6:46 pm
by steve
The only reasons that I can see where it wouldn't even attempt to upload the file would be if either the local file didn't exist at the time of the upload, or the remote file had been left blank. Unfortunately it doesn't log anything to say why it's ignoring the file. If you think that neither of those apply, I would have to put some extra logging in to see why it's being ignored.