Bug #71114 [Fbk->NoF]: FTPS Files Fail to Upload Content

From: Date: Sun, 10 Jan 2016 04:22:37 +0000
Subject: Bug #71114 [Fbk->NoF]: FTPS Files Fail to Upload Content
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198555@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71114&edit=1

 ID:               71114
 Updated by:       php-bugs@lists.php.net
 Reported by:      jimmmaaay at hotmail dot com
 Summary:          FTPS Files Fail to Upload Content
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          FTP related
 Operating System: Windows 10, CentOS 6.7
 PHP Version:      7.0.0
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2015-12-27 04:22:25] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.

------------------------------------------------------------------------
[2015-12-14 14:24:39] ab@php.net

Thanks for the report. While I have no environment to test currently, here is just a blind shot.
Could you please check the attached bug71114_0.patch with the improved error handling. Otherwise, if
you could provide a test login on your server for further investigation, it'd be great.

Thanks.

------------------------------------------------------------------------
[2015-12-14 14:22:38] ab@php.net

The following patch has been added/updated:

Patch Name: bug71114_0
Revision:   1450102958
URL:        https://bugs.php.net/patch-display.php?bug=71114&patch=bug71114_0&revision=1450102958

------------------------------------------------------------------------
[2015-12-14 09:06:04] jimmmaaay at hotmail dot com

Description:
------------
FTPS file uploads work but do not transfer any data. The file get uploaded with the correct name but
the file is empty. A warning is generated:

Warning: ftp_fput(): SSL read failed
Warning: ftp_fput(): Accepted data connection

Also ftp_mkdir works but ftp_nlist does not work and returns false.

The server supports explicit FTPS and it works using a normal FTP client connecting under FTP
SSL/TLS Explicit. The same script works under ftp_connect instead of ftp_ssl_connect.

Server is CentOS 6.7 with Pure-FTPD 1.0.37

Test script:
---------------
$ftp=ftp_ssl_connect($host,$port);
ftp_login($ftp,$user,$password);
ftp_fput($ftp,$remote,$local_file,FTP_ASCII);//returns false and warning here



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=71114&edit=1


Thread (7 messages)

« previous php.bugs (#198555) next »