Hello,
I have a problem adding an external ftp server to plesk
Actually, my FTP server has the specificity to close the connection each time a FTP command used by Plesk is not compatible (502 command not implemented)
So when Plesk tries to use EPSV which is an incompatible command with my FTP, it tries to use PASV instead but the FTP server has already closed the connection because there was an FTP 502 error before.
I would like to force the use of PASV and disable the use of EPSV to prevent the FTP server from closing the connection.
Here are the logs I was able to get with ppm-ras :
Thank you for your help
I have a problem adding an external ftp server to plesk
Actually, my FTP server has the specificity to close the connection each time a FTP command used by Plesk is not compatible (502 command not implemented)
So when Plesk tries to use EPSV which is an incompatible command with my FTP, it tries to use PASV instead but the FTP server has already closed the connection because there was an FTP 502 error before.
I would like to force the use of PASV and disable the use of EPSV to prevent the FTP server from closing the connection.
Here are the logs I was able to get with ppm-ras :
[2021-01-31 00:03:01.780|32521] INFO: Curl output: * Connected to (ipaddress) port 21 (#1)
[2021-01-31 00:03:01.800|32521] INFO: Curl output: < 220 server ready - login please
[2021-01-31 00:03:01.801|32521] INFO: Curl output: > USER username
[2021-01-31 00:03:01.808|32521] INFO: Curl output: < 331 password required
[2021-01-31 00:03:01.809|32521] INFO: Curl output: > PASS *****
[2021-01-31 00:03:02.740|32521] INFO: Curl output: < 230 login accepted
[2021-01-31 00:03:02.740|32521] INFO: Curl output: > PWD
[2021-01-31 00:03:02.748|32521] INFO: Curl output: < 257 "/" is your current location
[2021-01-31 00:03:02.748|32521] INFO: Curl output: * Entry path is '/'
[2021-01-31 00:03:02.748|32521] INFO: Curl output: > CWD backup
[2021-01-31 00:03:02.748|32521] INFO: Curl output: * ftp_perform ends with SECONDARY: 0
[2021-01-31 00:03:02.899|32521] INFO: Curl output: < 250 OK. Current directory is /backup
[2021-01-31 00:03:02.899|32521] INFO: Curl output: > EPSV
[2021-01-31 00:03:02.899|32521] INFO: Curl output: * Connect data stream passively
[2021-01-31 00:03:02.908|32521] INFO: Curl output: < 502 command not implemented
[2021-01-31 00:03:02.908|32521] INFO: Curl output: * Failed EPSV attempt. Disabling EPSV
--- FTP closes the connection here because "502 command not implemented".
[2021-01-31 00:03:02.908|32521] INFO: Curl output: > PASV
[2021-01-31 00:03:02.921|32521] INFO: Curl output: < 227 Entering Passive Mode (ip)
[2021-01-31 00:03:02.922|32521] INFO: Curl output: * Skip (ipaddress) for data connection, re-use (ipadress) instead
[2021-01-31 00:03:02.922|32521] INFO: Curl output: * Trying (ipaddress)...
[2021-01-31 00:03:02.922|32521] INFO: Curl output: * Connecting to (ipdadress) port 63065
[2021-01-31 00:03:02.927|32521] INFO: Curl output: * connect to (ipdadress) port 21 failed: Connection refused
[2021-01-31 00:03:02.927|32521] INFO: Curl output: * Failed to connect to (ipdadress) port 21: Connection refused
[2021-01-31 00:03:02.927|32521] INFO: Curl output: * Closing connection 1
Thank you for your help