Page 1 of 1

FTP issues

Posted: Wed 18 May 2022 11:18 am
by richard_newberry
Hi all,

Can anyone help me with this please, it's sooo annoying.

Please see attached my ftplog.txt file.

Re: FTP issues

Posted: Wed 18 May 2022 11:38 am
by richard_newberry
Please see the vsftpd.log

Wed May 18 12:34:05 2022 [pid 24316] FTP response: Client "31.125.29.195", "220 (vsFTPd 3.0.3)"
Wed May 18 12:34:05 2022 [pid 24316] FTP command: Client "31.125.29.195", "USER cumulus"
Wed May 18 12:34:05 2022 [pid 24316] [cumulus] FTP response: Client "31.125.29.195", "331 Please specify the password."
Wed May 18 12:34:05 2022 [pid 24316] [cumulus] FTP command: Client "31.125.29.195", "PASS <password>"
Wed May 18 12:34:05 2022 [pid 24315] [cumulus] OK LOGIN: Client "31.125.29.195"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "230 Login successful."
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "FEAT"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "211-Features:"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", " EPRT??"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", " EPSV??"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", " MDTM??"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", " PASV??"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", " REST STREAM??"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", " SIZE??"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", " TVFS??"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "211 End"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SYST"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "215 UNIX Type: L8"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "TYPE I"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "200 Switching to Binary mode."
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/websitedata.json"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:05 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||49697|)"
Wed May 18 12:34:08 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "TYPE I"
Wed May 18 12:34:08 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "200 Switching to Binary mode."
Wed May 18 12:34:08 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/tempdata.json"
Wed May 18 12:34:08 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:08 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:08 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||11636|)"
Wed May 18 12:34:08 2022 [pid 24319] CONNECT: Client "31.125.29.195"
Wed May 18 12:34:08 2022 [pid 24319] FTP response: Client "31.125.29.195", "220 (vsFTPd 3.0.3)"
Wed May 18 12:34:08 2022 [pid 24319] FTP command: Client "31.125.29.195", "USER cumulus"
Wed May 18 12:34:08 2022 [pid 24319] [cumulus] FTP response: Client "31.125.29.195", "331 Please specify the password."
Wed May 18 12:34:08 2022 [pid 24319] [cumulus] FTP command: Client "31.125.29.195", "PASS <password>"
Wed May 18 12:34:08 2022 [pid 24318] [cumulus] OK LOGIN: Client "31.125.29.195"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "230 Login successful."
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "FEAT"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "211-Features:"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", " EPRT??"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", " EPSV??"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", " MDTM??"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", " PASV??"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", " REST STREAM??"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", " SIZE??"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", " TVFS??"
Wed May 18 12:34:08 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "211 End"
Wed May 18 12:34:09 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "SYST"
Wed May 18 12:34:09 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "215 UNIX Type: L8"
Wed May 18 12:34:09 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "PWD"
Wed May 18 12:34:09 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "257 "/home/cumulus" is the current directory"
Wed May 18 12:34:10 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "TYPE I"
Wed May 18 12:34:10 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "200 Switching to Binary mode."
Wed May 18 12:34:10 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/humdata.json"
Wed May 18 12:34:10 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:10 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:10 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||65119|)"
Wed May 18 12:34:21 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/wxnow.txt"
Wed May 18 12:34:21 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:21 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:21 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||51714|)"
Wed May 18 12:34:23 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/pressdata.json"
Wed May 18 12:34:23 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:23 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:23 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||18296|)"
Wed May 18 12:34:25 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/raindata.json"
Wed May 18 12:34:25 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:25 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:25 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||17314|)"
Wed May 18 12:34:36 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/graphconfig.json"
Wed May 18 12:34:36 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:36 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:36 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||43143|)"
Wed May 18 12:34:39 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/winddata.json"
Wed May 18 12:34:39 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:39 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:39 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||28065|)"
Wed May 18 12:34:41 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/dailyrain.json"
Wed May 18 12:34:41 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:41 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:41 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||55383|)"
Wed May 18 12:34:52 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/availabledata.json"
Wed May 18 12:34:52 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:52 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:52 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||36287|)"
Wed May 18 12:34:54 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/wdirdata.json"
Wed May 18 12:34:54 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:54 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:54 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||61423|)"
Wed May 18 12:34:56 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/dailytemp.json"
Wed May 18 12:34:56 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:34:56 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:34:56 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||7022|)"
Wed May 18 12:35:07 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/tempdata.json"
Wed May 18 12:35:07 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:08 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:08 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||19315|)"
Wed May 18 12:35:09 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "TYPE I"
Wed May 18 12:35:09 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "200 Switching to Binary mode."
Wed May 18 12:35:09 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/realtime.txt"
Wed May 18 12:35:09 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:09 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:09 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||34332|)"
Wed May 18 12:35:10 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/humdata.json"
Wed May 18 12:35:10 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:10 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:10 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||64694|)"
Wed May 18 12:35:12 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/solardata.json"
Wed May 18 12:35:12 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:12 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:12 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||63257|)"
Wed May 18 12:35:23 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/pressdata.json"
Wed May 18 12:35:23 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:23 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:23 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||63145|)"
Wed May 18 12:35:24 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/realtimegauges.txt"
Wed May 18 12:35:24 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:24 2022 [pid 24320] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:24 2022 [pid 24320] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||11990|)"
Wed May 18 12:35:26 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/raindata.json"
Wed May 18 12:35:26 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:26 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:26 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||35512|)"
Wed May 18 12:35:28 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/sunhours.json"
Wed May 18 12:35:28 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:28 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:28 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||27131|)"
Wed May 18 12:35:39 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/winddata.json"
Wed May 18 12:35:39 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:39 2022 [pid 24317] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:39 2022 [pid 24317] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||10381|)"
Wed May 18 12:35:41 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/dailyrain.json"
Wed May 18 12:35:41 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:41 2022 [pid 24305] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:41 2022 [pid 24305] [cumulus] FTP response: Client "31.125.29.195", "229 Entering Extended Passive Mode (|||59386|)"
Wed May 18 12:35:43 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "SIZE /var/www/airquality.json"
Wed May 18 12:35:43 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "550 Could not get file size."
Wed May 18 12:35:43 2022 [pid 24310] [cumulus] FTP command: Client "31.125.29.195", "EPSV"
Wed May 18 12:35:43 2022 [pid 24310] [cumulus] FTP response: Client "31.125.29.195", "229 Entering ExtendedMode (|||35270|)" Passive

Re: FTP issues

Posted: Wed 18 May 2022 11:39 am
by richard_newberry
I haven't tried active mode?

Would that be worth trying?

Re: FTP issues

Posted: Thu 19 May 2022 1:07 pm
by mcrossley
Active mode is possibly worth a try. There appears to be something blocking the connection somewhere, every upload gets the error... Timed out trying to connect!

The connection logs in OK, but the transfers all fail.

Re: FTP issues

Posted: Thu 19 May 2022 1:39 pm
by richard_newberry
How do we change it to active in cumulus?

Passive mode is unsecure you gotta open a load of ports?

Re: FTP issues

Posted: Thu 19 May 2022 1:42 pm
by richard_newberry
I have transfered files across via ssh rather than cumulus and it works from remote but on cumulus it timed out.

My mate also does coding and works at barclays bank said theres a problem with sftp on cumulus because password authentication using username and password should work but it doesn't.

Seriously needs looking into please.

The sftp file is old and fluentftp file both are running an old version.

Re: FTP issues

Posted: Thu 19 May 2022 1:44 pm
by mcrossley
richard_newberry wrote: Thu 19 May 2022 1:42 pm ...said theres a problem with sftp on cumulus because password authentication using username and password should work but it doesn't.

Seriously needs looking into please.
It works for me!

Re: FTP issues

Posted: Thu 19 May 2022 1:52 pm
by richard_newberry
What do you mean its working for you?

How have you tried this?

Re: FTP issues

Posted: Thu 19 May 2022 1:54 pm
by richard_newberry
If i can mesage you my pi ssh details you can see sftp works on ssh not on cumulus?

What did you put in ssh config for it to work?

Re: FTP issues

Posted: Thu 19 May 2022 2:12 pm
by mcrossley
I just use...

Protocol = 2 - Use SSH for FTP
Port = 22
plus username & password.

But my point is, if it works for me I can't "fix it" as it isn't broke on my dev platform.

If you are prepared to share your SFTP login details and default folder, then I can try connecting to your server from here and see if I can see what the problem is.

Re: FTP issues

Posted: Thu 19 May 2022 2:56 pm
by freddie
richard_newberry wrote: Thu 19 May 2022 1:39 pm Passive mode is unsecure you gotta open a load of ports?
Only on the server side (that's why some providers dislike it). They're both as secure/insecure as each other. In both cases, the data transferred between client and server is unencrypted and therefore able to be read by anybody with the knowhow.

Better off using SFTP or FTPS.

Re: FTP issues

Posted: Fri 20 May 2022 5:41 pm
by richard_newberry
If you are prepared to share your SFTP login details and default folder, then I can try connecting to your server from here and see if I can see what the problem is.

shared information with you mate it,

thanks

Re: FTP issues

Posted: Fri 20 May 2022 7:51 pm
by richard_newberry
https://stackoverflow.com/questions/379 ... -aborted-c

Why i am having these problems below

2022-05-20 20:53:03.673 SFTP[Int]: Connecting using password authentication
2022-05-20 20:53:03.673 SFTP[Int]: CumulusMX Connecting to 212.159.122.28 on port 22
2022-05-20 20:53:03.769 SFTP[Int]: Error connecting SFTP - An established connection was aborted by the server.

please can you update that file.

thanks

Re: FTP issues

Posted: Sat 21 May 2022 11:40 pm
by richard_newberry
make sure you change to active ftp then passive mode and it then works.

Re: FTP issues

Posted: Sun 22 May 2022 10:04 pm
by mcrossley
richard_newberry wrote: Fri 20 May 2022 7:51 pm https://stackoverflow.com/questions/379 ... -aborted-c

Why i am having these problems below

2022-05-20 20:53:03.673 SFTP[Int]: Connecting using password authentication
2022-05-20 20:53:03.673 SFTP[Int]: CumulusMX Connecting to 212.159.122.28 on port 22
2022-05-20 20:53:03.769 SFTP[Int]: Error connecting SFTP - An established connection was aborted by the server.

please can you update that file.

thanks
As posted on the other thread, the short answer is no, I can't update the SSH.Net component as the new version has issues running under Mono.

Though I think there has been a major version upgrade of Mono since I last tested it.