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