Page 1 of 1
FTP timed out
Posted: Fri 27 Nov 2020 12:00 pm
by profzarkov
Hi
My station stopped uploading to my webpage at 0030 last night.
It's still uploading to Weather Underground.
I tried Filezilla and it works . . .
I use 1and1 - now called Ionos as my host.
I see they use SFTP . . .not sure I can configure Cumulus around this....any help.
Steve
Re: FTP timed out
Posted: Fri 27 Nov 2020 12:22 pm
by profzarkov
Ah, poking around the site .. .it seems that I may have to run the MX version . . . .
Re: FTP timed out
Posted: Fri 27 Nov 2020 2:11 pm
by freddie
Yes, MX handles SFTP but Cumulus 1 doesn't.
Re: FTP timed out
Posted: Sun 03 Jan 2021 3:26 pm
by jimi
If you know which files Cumulus uploads to your site then you could configure an FTP client to upload the files using sftp.
I do that to upload my weather cam pics to my website. I use FlashFXP (free version) to schedule an upload every 15 mins 24/7, it will even wake up the pc to do it, although that mini .pc runs 24/7 for my weather station. Been running like that for a couple of years, the free version of FlashFXP
https://www.flashfxp.com/ seems very good and reliable.
Re: FTP timed out
Posted: Sun 23 May 2021 11:22 am
by Rommie
Sorry my english. I am from germany...
I think I have a similar problem.
I am using the FTP-Function of Cumulus to upload a Gif-File created from a Meteosat-Receiving-Station to my website. It is also possible to let create a AVI-File but Cumulus get an Error-Code 426 when upload the AVI-File. Gif is already running but not a reasonable solution.
Switching between active and passive mode is not successful.
Log-File from Cumulus (excerpt):
12:43:06:063 ! Next3GetAsync
12:43:06:063 ! HighLevelAsync 0
12:43:06:063 ! HighLevelAsync done
12:43:06:710 Local file: F:\IMAGES\MSG-Animation\~Animation-030-web-eu.avi Remote file: /weather/images/~Animation-030-web-eu.avi
12:43:06:711 FTP Command: TYPE I
12:43:06:711 05EF7750 TriggerDataSent 864
12:43:06:745 FTP Response: 200 Type set to I
12:43:06:745 >|200 Type set to I|
12:43:07:711 Uploading F:\IMAGES\MSG-Animation\~Animation-030-web-eu.avi to /weather/images/~Animation-030-web-eu.avi
12:43:07:711 ! HighLevelAsync 0
12:43:07:711 FTP Command: PORT 192,168,2,9,238,208
12:43:07:711 05EF7750 TriggerDataSent 864
12:43:07:750 FTP Response: 200 PORT command successful
12:43:07:750 >|200 PORT command successful|
12:43:07:750 ! HighLevelAsync 0
12:43:07:750 05EF7F10 TCustomWSocket.Shutdown 1 952
12:43:07:750 FTPRequestDone ftpPutAsync Errcode = 426
12:43:08:713 Changing directory to weather
12:43:08:713 FTP Command: CWD weather
12:43:08:713 05EF7750 TriggerDataSent 864
12:43:08:755 FTP Response: 250 CWD command successful
12:43:08:755 >|250 CWD command successful|
---
Any solutions?
Greetings Rommie
Re: FTP timed out
Posted: Sun 23 May 2021 2:38 pm
by water01
Images are best uploaded using the "binary" option on the upload file, but in your case it may be that .avi file is too large as they are usually complete video files, which tend to be on the large size. The server is timing out as the upload is taking too long.
Re: FTP timed out
Posted: Sun 23 May 2021 6:23 pm
by Rommie
I have made a test and let create a avi-file wich is smaller than the gif. the problem is the same.
It seems that the FTP-Client in the Cumulus-Software blocks avi-files.
I have enabled/disabled UTF-8/Binary etc... nothing happens. I am clueless.
Re: FTP timed out
Posted: Sun 23 May 2021 7:49 pm
by water01
It is very unlikely the CumulsMX blocks .avi files, but more likely that your hosting service does. Try changing the .avi file as a .txt with binary set and then rename it as .avi using the remote file name i.e. local file "something\myfile.txt!", remote file "something\myfile.avi". If that doesn't work you will need to speak to your hosting service technical support and find out if there are any limitations to using Ftp.
By the way how big is the ,avi file?
Re: FTP timed out
Posted: Sun 23 May 2021 8:24 pm
by Rommie
That's not so easy with renaming the file because it is a automated Process between several programs.
The Sat-Receiving-Software decodes Data and stores the Images in jpg to HDD. The MSG-Animator takes the last 24 Pictures (6h) and makes an animated Gif or Avi-File.
This File should be uploaded with the Weather-Station-Data to my website. This complete process repeats every 15min. The Realtime.txt is uploaded every 30secs.
With gif this process works fine but not with avi.
I dont like to use a different program for that task because the PC is busy enough with decoding the Data from the Satellite.
The Gif-File is 6.75MB (6h - 24 Frames)
The AVI is little more than 10.9MB (6h - 24 Frames)
The Test-AVI was 5.4MB (3h - 12 Frames - smaller than the original Gif-File)
btw. the System uses Cumulus 1...
---
The reason why I would like to use AVI is:
The MSG-Manager causes sometimes a 'Access-Violation' on the OS by creating a new Gif-Animation and will be terminated.
The Programmer of the Software told me to use AVI because it is running smoother.
So I have 2 possibilities.
1. Using Gif and look every morning if the MSG-Animator is still running or...
2. Get Cumulus running to upload AVI-Files.
Re: FTP timed out
Posted: Sat 29 May 2021 11:03 am
by Rommie
Problem resolved...
The Problem was that the FTP-Protokoll not exactly says what the Problem is... Read-Error.
The AVI-File of the MSG-Animator is locked during Playback so the FTP-Client cannot upload the File. Gif is already running so I have to use the Gif-File. I think it is also more common for Websites.
I can not understand why the File is 'fully' locked during Playback.Write protection would be sufficient. That must be a mistake of the Programmer of the MSG-Software.