|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2016-06-14 13:58 UTC] benedict dot singer at automattic dot com
[2016-08-13 19:34 UTC] nikic@php.net
-Summary: Cannot upload file fit ftp_put to FTPES with
require_ssl_reuse
+Summary: Cannot upload file using ftp_put to FTPES with
require_ssl_reuse
[2016-08-13 19:47 UTC] nikic@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: nikic
[2016-08-13 19:47 UTC] nikic@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
Description: ------------ There is not possible to upload file to FTP server with explicit SSL on FTP servers based on VSFTP, where require_ssl_reuse is set to on. ftp_fput(): SSL connection failed; session reuse required: see require_ssl_reuse option in vsftpd.conf man page Test script: --------------- $ftp = ftp_ssl_connect($host, 21, 180); if ($ftp && ftp_login($ftp,$login,$pass)) { if (ftp_put($ftp, $dest_file, $file, FTP_BINARY)) { // ok } else { // error } } else { // file error } Expected result: ---------------- I want to get true from ftp_fput