![]() # Normally, we want files to be overwriteable. # (second parm) from being group and world writable. # Umask 022 is a good standard umask to prevent new files and dirs # Set the user and group that the server normally runs at. # Authenticate clients that want to use FTP over TLS? ![]() TLSCertificateChainFile /etc/ssl/certs/proftpd-ca.crt TLSRSACertificateKeyFile /etc/ssl/private/proftpd.key TLSRSACertificateFile /etc/ssl/certs/proftpd.crt # Are clients required to use FTP over TLS when talking to this server? # Support TLSv1 (no more SSLv3 due to POODLE attack) # Unlimited number of concurrent connections per IP/user allowed # Unlimited number of concurrent connections # Workaround for nasty problem with FileZilla: # Use this directive to release that constrain. # Users require a valid shell listed in /etc/shells to login. ![]() # Allow continuation of uploads/downloads # Use this to jail all users in their homes # If set on you can experience a longer connection delay in many cases. The content of my nf: # Includes DSO modules ![]() With PHP, the active mode is also not working. I think there is a problem with the FTP server, but other servers works with the configuration. The return of FEAT is the following: 211-Features: If I try to change in the passive mode via lftp, it does not work also: lftp quote PASV There are several funny PHP warning: Warning: ftp_put(): Unable to build data connection: Operation not permitted "/test.txt", FTP_ASCII) // Returns false, local file and remote directory exists (FTP_BINARY does not work also) This is the code: $this->con = ftp_ssl_connect($CFG, $port) įtp_login($this->con, $CFG, $CFG) įtp_pasv($this->con, true) // Returns trueįtp_put($this->con, "/path/test.txt", _DIR_. I try to upload a file via PHP to a FTP server running ProFTPD. ![]()
0 Comments
Leave a Reply. |