• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Proftpd connection lost

N

nunor

Guest
Hi,

I'm using Plesk 8 under FC2 and I have problems with the FTP connection when I try to upload files bigger than 2 megaybte

Here the error I receive

[R] Connecting to ftp.akki.lu -> DNS=ftp.akki.lu IP=62.193.243.40 PORT=21
[R] Connected to ftp.akki.lu
[R] 220 ProFTPD 1.2.10 Server (ProFTPD) [62.193.243.40]
[R] USER pierre
[R] 331 Password required for pierre.
[R] PASS (hidden)
[R] 230 User pierre logged in.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Features:
[R] MDTM
[R] REST STREAM
[R] SIZE
[R] 211 End
[R] PWD
[R] 257 "/" is current directory.
[R] List (cached)
[R] List Complete: 426 bytes in 0.07 seconds (5.9 KB/s)
[R] CWD httpdocs
[R] 250 CWD command successful
[R] PWD
[R] 257 "/httpdocs" is current directory.
[R] TYPE A
[R] 200 Type set to A
[R] PORT 10,1,11,160,6,142
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226-Transfer complete.
[R] 226 Quotas off
[R] List Complete: 178 bytes in 0.40 seconds (0.4 KB/s)
[R] TYPE I
[R] 200 Type set to I
[R] PORT 10,1,11,160,6,143
[R] 200 PORT command successful
[R] STOR Drivers Laptop.zip
[R] 150 Opening BINARY mode data connection for Drivers Laptop.zip
[R] 450 Transfer aborted. Link to file server lost.
[R] Transfer Failed!
[R] PORT 10,1,11,160,6,144
[R] 200 PORT command successful
[R] REST 417792
[R] 350 Restarting at 417792. Send STORE or RETRIEVE to initiate transfer
[R] STOR Drivers Laptop.zip
[R] 451 Drivers Laptop.zip: Append/Restart not permitted, try again
[R] Transfer Failed!
[R] TYPE A
[R] 200 Type set to A
[R] PORT 10,1,11,160,6,145
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226-Transfer complete.
[R] 226 Quotas off
[R] List Complete: 251 bytes in 0.29 seconds (0.8 KB/s)
Transfer queue completed
1 File failed to transfer

Is there any solution know for this issue?
I've tried more than 5 different FTP clients. with PASV mode activated & desactivated

Many thanks
Nuno
 
Append/Restart not permitted, try again
Check your /etc/proftpd.conf file for the option setting 'AllowStoreRestart' (should be 'on' )

As to the size limit, check your /etc/php.ini file for the option setting 'upload_max_filesize'
 
FTP Upload Error

I too am unable to upload files larger than 2-4mb without getting a fatal error message. I have clients with sites on my server getting the same problem. It started with 8.0

I've tried changing all of the settings including changing the timeout to 30mins but nothing. The logs show:
--------------------- proftpd-messages Begin ------------------------
**Unmatched Entries**
ip-68-***-***-125.ip.secureserver.net (68.***.***.119[68.***.***.119]) - FTP no transfer timeout, disconnected

Seems that file uploads die after about 8-15 seconds. Any iodeas more than welcome.
 
Solved - but not good

I have a temp solution - stop the firewall service - then it all works.

I've tried opening every port and turning the firewall back on and the FTP fails again, so I shut down the psa-firewall at the root. The moduke in the CP is still active and for whatever reason still blocks banned IPs even though it is shut off, so obviously there is a second firewall running somewhere, but I don't know where.
 
Same happening to us, and people reported that with Internet Explorer upload work fne, but with CuteFTP for example not.
Tried to find out all kind of solutions, but no luck. PLESK guys wake up!
 
Hey, anyone have any updates on this issue? Disabling the firewall did fix it for me as well, but I'd rather find a better solution.

Thanks.
 
Still no answer

I still have not found a permanent fix to this issue.

Also, I find that that firewall restarts itself, even though it is not set to restart. I still think that there are two firewalls programs operating in the Plesk setup as I've noticed that I can stop the PSA FW service at the root, but my logs are still showing that the FW settings in the Plesk CP FW settings are still blocking banned IPs. I don't get it, when the FW is stopped, it should be stopped. :confused:
 
We had this problem also. An ftp upload of 10mb would fail at random times. If we turned of Egress (outbound) filtering on APF that fixed it. So we just set a large pile of ports to be open outbound to fix it.



http://www.netvantage.com.au
 
Back
Top