Page 1 of 2
Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 9:49 am
by Lazze
I have a problem with the upload of the dynamic Cumulus files. I uploaded the static files using a ftp software, which worked out without any problems. Second I setup the configuration for how Cumulus should act for the web as described. Here I was stucked because the .htm files don't upload whatever I do.
The images and the realtime.txt upload just as expected but not the .htm files.
I have tried to upload a .htm file using my ftp software and this works fine.
http://66.7.210.118/~zzitande/Cumulus/
/Lasse, Sweden
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 10:05 am
by steve
You have probably entered incorrect configuration details in Cumulus - most likely the ftp directory. Please turn on ftp logging, and then attach the ftplog.txt file and a screenshot of your Cumulus internet settings.
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 12:18 pm
by Lazze
I'm not at home right now so I can't post a screenshot or ftplog.txt.
But...if images and realtime.txt find there way to correct host/folder, how could it be wrong ftp directory?
/Lasse, Sweden
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 12:29 pm
by steve
Yes, that is strange, and I agree that it doesn't fit with the ftp directory being wrong. You haven't accidentally unticked 'include standard files' on the files tab?
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 12:39 pm
by Lazze
Nopp, 'include standard files' on the files tab is ticked.
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 12:49 pm
by steve
We'll have to wait to see what the ftp log says, then.
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 1:58 pm
by water01
As you are using an Apache server setup the upload directory should be /htdocs/cumulus/ for it to work correctly.
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 6:18 pm
by Lazze
OK...here is the FTP log as attached text file.
ftplog.txt
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 6:24 pm
by steve
There are no errors in there. Cumulus is uploading the files and the ftp server is accepting them.
Is this your own web server? Is it perhaps not configured to accept .htm files?
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 6:34 pm
by Lazze
Yes, its very strange because i didn't see any problems i the ftplog either. I have tried to upload a .htm file to the ftp server with ftp software (Classic FTP) and work just fine. Just when Cumulus should upload I can't get it through.
It's a web host server (Manufrog.com) and not my own.
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 6:35 pm
by steve
Actually, it doesn't look right. For each .htm file, this is all that appears in the log:
18:50:06:653 ! HighLevelAsync 0
18:50:07:514 Uploading C:\Cumulus\web\today.htm to today.htm
18:50:07:514 ! HighLevelAsync 0
18:50:07:514 FTP Command: PASV
18:50:07:514 054E8A20 TriggerDataSent 948
18:50:07:656 FTP Response: 227 Entering Passive Mode (66,7,210,118,144,99)
18:50:07:656 >|227 Entering Passive Mode (66,7,210,118,144,99)|
At that point, a data connection should be opened to actually transfer the file. As happens with the image files:
18:50:21:517 Uploading C:\Cumulus\web\images\temp.png to temp.png
18:50:21:517 ! HighLevelAsync 0
18:50:21:517 FTP Command: PASV
18:50:21:517 054E8A20 TriggerDataSent 948
18:50:21:655 FTP Response: 227 Entering Passive Mode (66,7,210,118,143,255)
18:50:21:655 >|227 Entering Passive Mode (66,7,210,118,143,255)|
18:50:21:655 ! HighLevelAsync 0
18:50:21:656 054E91E0 Socket handle created 656
18:50:21:656 TWSocket will connect to 66.7.210.118:36863
18:50:21:793 ! Data Session opened (Put)
18:50:21:793 FTP Command: STOR temp.png
18:50:21:793 054E91E0 TriggerDataSent 656
18:50:21:793 054E8A20 TriggerDataSent 948
18:50:21:932 FTP Response: 150 Accepted data connection
18:50:21:932 >|150 Accepted data connection|
18:50:21:932 ! Send first block
18:50:21:932 DataSocketPutDataSent 13377
18:50:22:244 054E91E0 TriggerDataSent 656
18:50:22:244 DataSocketPutDataSent 0
18:50:22:244 054E91E0 TCustomWSocket.Shutdown 1 656
18:50:22:410 FTP Response: 226-File successfully transferred
18:50:22:410 >|226-File successfully transferred|
18:50:22:410 FTP Response: 226 0.478 seconds (measured here), 27.32 Kbytes per second
18:50:22:410 >|226 0.478 seconds (measured here), 27.32 Kbytes per second|
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 6:36 pm
by steve
Are there any errors being logged in the diags file?
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 6:46 pm
by Lazze
Seems to be some ftp problems with today.ini. Have a look in attached file.
cumulus.008
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 6:55 pm
by steve
The ftp server is returning error 426, which is 'connection closed, transfer aborted'. Unhelpfully, there is no reason given for this.
You could try active ftp mode.
Re: Cumulus don't upload .htm files
Posted: Mon 24 Feb 2014 7:03 pm
by Lazze
I just ticked "Active FTP mode" with no luck. See attached Diag file.