wiki:ftp_pasv_operation_not_permitted_error
Table of Contents
Ftp PASV Operation not permitted error
Error from php program when trying to upload a pdf file to remote server:
PHP Warning: ftp_put(): Entering Extended Passive Mode (|||65500|) in /home/client/libraries/php-ftp-client/FtpClient/FtpWrapper.php on line 85 PHP Warning: ftp_put(): PASV: Operation not permitted in /home/client/libraries/php-ftp-client/FtpClient/FtpWrapper.php on line 85
This is caused by ProFtpd on the remote server. To solve, add option TLSOptions NoSessionReuseRequired
in /etc/proftpd/tls.conf
Tested on
- Debian 10
- php 7.3
See also
References
wiki/ftp_pasv_operation_not_permitted_error.txt · Last modified: 2021/04/30 12:51 by antisa