Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Remote Directory FTP Issue

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
dlozano
Posts: 4
Joined: Fri 19 Aug 2022 1:28 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspberryPi
Location: Hoyo de Manzanares

Remote Directory FTP Issue

Post by dlozano »

Hi everyone,

I am trying to upload my realtime.txt file through ftp to my hosting.

I am sure i am misspelling something but i dont know what can be. On Web/ftp site i got

Hostname: ftp.myserver.com
FTP Protocol to use: 0 -FTP
FTP port: 21 (my ftp hosting client says port 21)
Remote ftp directory (i think here is the main issue): /home/qtpfnsomething/meteosomething/
Username: myserveradmin@myserver.com
Password: ··········

I am using coreftp on my pc and i am able to connect to my ftp server and upload files. It seems, i am doing something worng on my cumulus configuration that keeps not letting cumulus to connect to my ftp server.

Thanks in advanced!!

PS: in my remote ftp directoy i have tryed:
ftp.myserver.com/homeqtpfnsomething/meteosomething/
/homeqtpfnsomething/meteosomething
//ftp.myserver.com/homeqtpfnsomething/meteosomething/
dlozano
Posts: 4
Joined: Fri 19 Aug 2022 1:28 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspberryPi
Location: Hoyo de Manzanares

Re: Remote Directory FTP Issue

Post by dlozano »

I have noticed that allways, my cumulus.ini i have ActiveFTP=0
Anyways, if i change it to 1, nothing happens :(
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remote Directory FTP Issue

Post by HansR »

1) don't change ActiveFTP manually in Cumulus.ini, so keep it to 0
2) your remote ftp dir must probably be something like /httpdocs/sub1/sub2 i.e. it must be the directory where your website is located. And yes, with your povider /httpdocs can be /home. The rest of the config for plain old FTP seems OK.

If you can't get it to work could you pleas post the MXdiags logfile with debug enabled?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
dlozano
Posts: 4
Joined: Fri 19 Aug 2022 1:28 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspberryPi
Location: Hoyo de Manzanares

Re: Remote Directory FTP Issue

Post by dlozano »

HansR wrote: Sat 27 Aug 2022 1:25 pm 1) don't change ActiveFTP manually in Cumulus.ini, so keep it to 0
2) your remote ftp dir must probably be something like /httpdocs/sub1/sub2 i.e. it must be the directory where your website is located. And yes, with your povider /httpdocs can be /home. The rest of the config for plain old FTP seems OK.

If you can't get it to work could you pleas post the MXdiags logfile with debug enabled?
Hey Hansr, thanks for your help! I am a completly newbie with cumulus and rpi! I ll try my best!

For sure it is something i am writing wrong in the ftp directory


2022-08-27 15:48:12.406 FTP[91]: Error uploading realtime.txt to /home/qtpfnmbh7cmw/public_ftp/incoming/meteoberzosa/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2022-08-27 15:48:12.406 FTP[91]: Inner Exception: Can't open that file: No such file or directory
2022-08-27 15:48:12.693 FTP[91]: Error uploading web/realtimegauges.txt to /home/qtpfnmbh7cmw/public_ftp/incoming/meteoberzosa/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2022-08-27 15:48:12.693 FTP[91]: Inner Exception: Can't open that file: No such file or directory
dlozano
Posts: 4
Joined: Fri 19 Aug 2022 1:28 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspberryPi
Location: Hoyo de Manzanares

Re: Remote Directory FTP Issue

Post by dlozano »

hahahaha finally got it!!!

I made manual ftp connection with core ftp and checked the directory.... I cant believe which one was it....

/


Thats it. It was simply "/"

Now, on my cumulusmx Web/ftp site configuration folder, Remote FTP Directory: /

Oh my... How simply it was!

Thank you for your help
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remote Directory FTP Issue

Post by HansR »

:D you're welcome
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply