ID: 43399 Comment by: stephan dot binder at rbb-online dot de Reported By: lgfb at iname dot com Status: No Feedback Bug Type: FTP related Operating System: Windows XP PHP Version: 5.2.5 New Comment:
OS Suse Linux 11.1 I am experiencing this issue with php5.2.9 after update on php5.2.11 : the same i don't have the problem on another server (Suse Linux 10.3) with php5.2.5 installed) Previous Comments: ------------------------------------------------------------------------ [2008-04-02 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-03-25 19:41:31] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2007-11-25 10:28:27] lgfb at iname dot com Description: ------------ same as already described in #30894: The command $upload1 = ftp_put($conn_id1, $file, $file, FTP_ASCII); tries to upload a file, but only creates a 0-byte-large file on the destination and drops the warning on the command line "PHP Warning: ftp_put(): PORT command successful". With version 5.2.4 and the same script coding the error does not occur (tried with a downgrade). Reproduce code: --------------- $upload1 = ftp_put($conn_id1, $file, $file, FTP_ASCII); PHP Warning: ftp_put(): PORT command successful in D:\ftproot\shell-auslesendateistatus.php on line 103 Expected result: ---------------- Size of the file in destination should have been at least 33kB after upload! Actual result: -------------- a zero-byte-file was created, resp. the available one truncated to 0. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43399&edit=1