User Tools

Site Tools


wiki:ftp_pasv_operation_not_permitted_error

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

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki