Page 1 of 1

Remote Directory FTP Issue

Posted: Sat 27 Aug 2022 11:44 am
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/

Re: Remote Directory FTP Issue

Posted: Sat 27 Aug 2022 1:07 pm
by dlozano
I have noticed that allways, my cumulus.ini i have ActiveFTP=0
Anyways, if i change it to 1, nothing happens :(

Re: Remote Directory FTP Issue

Posted: Sat 27 Aug 2022 1:25 pm
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?

Re: Remote Directory FTP Issue

Posted: Sat 27 Aug 2022 1:51 pm
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

Re: Remote Directory FTP Issue

Posted: Sat 27 Aug 2022 2:28 pm
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

Re: Remote Directory FTP Issue

Posted: Sat 27 Aug 2022 3:05 pm
by HansR
:D you're welcome