Page 1 of 1

[solved] Ftp connection refused

Posted: Thu 01 Feb 2018 7:52 pm
by maddinthebrain
Hi
I tried to setup a ftp upload on a local NAS. With Filezilla the connection works fine. When I use the same parameters like address, username, password etc. it doesn't work. In MXDiag file I found

Code: Select all

2018-02-01 20:29:25.615 Error connecting ftp - Connection refused
2018-02-01 20:29:25.743 Error uploading realtime.txt to /array1/Webserver/CumulusMX/realtime.txt : Connection refused
2018-02-01 20:29:25.774 Error uploading web/realtimegauges.txt to /array1/Webserver/CumulusMX/realtimegauges.txt : Connection refused
How to fill in the server address? I do it this way: ls-qvl500.fritz.box
Port is 21

As I said, this works fine with Filezilla. The FTP-Server uses TLS for authentication.

Help is highly appreciated!

Martin

Re: Ftp connection refused

Posted: Thu 01 Feb 2018 7:57 pm
by steve
Have you enabled FTP over TLS in MX and restarted?

Re: Ftp connection refused

Posted: Thu 01 Feb 2018 8:48 pm
by maddinthebrain
steve wrote:Have you enabled FTP over TLS in MX and restarted?
Is this the option "Use SSL for FTP (FTPS)"?

Re: Ftp connection refused

Posted: Thu 01 Feb 2018 9:19 pm
by maddinthebrain
OK it's working NOW. But some html files are empty. Like index.htm. What's missing?

Thx

Re: Ftp connection refused

Posted: Thu 01 Feb 2018 9:42 pm
by steve
One possible cause mentioned in the FAQ, I think. Caused by incorrect active/passive ftp mode. If not that, you could turn on ftp logging and look at ftp log.

Re: Ftp connection refused

Posted: Fri 02 Feb 2018 2:17 pm
by DonaldDuck
I had to install ftpd to enable RPi to Synology FTP connection
sudo apt-get install ftpd
Michael

Re: Ftp connection refused

Posted: Fri 02 Feb 2018 8:33 pm
by maddinthebrain
Now it's fine. It was that the rename option was not active.
Thx.