ftp_put() returns false when transfer was successful
| Bug #51190 | ftp_put() returns false when transfer was successful | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2010-03-03 05:47 UTC | Modified: | 2021-02-28 04:22 UTC |
|
||||||||||
| From: | alexclifford47 at gmail dot com | Assigned: | cmb (profile) | |||||||||||
| Status: | No Feedback | Package: | FTP related | |||||||||||
| PHP Version: | 5.3.1 | OS: | Windows Server 2003 R2 32-bit | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2010-03-03 05:47 UTC] alexclifford47 at gmail dot com
Description: ------------ Hi, I am getting the following warning message when trying to use ftp_put(): Warning: ftp_put(): Transfer OK This is causing the function to return false, when in fact the file is transferred successfully. I have Googled this warning message but no one else has ever received it. Where is this warning coming from and why is PHP reporting a "Transfer OK" as a warning? Destination server is Windows Server 2008 64-bit running FileZilla Server (latest version). Alex Test script: --------------- $conn_id = ftp_connect($ftp_server); ftp_login($conn_id, $ftp_user, $ftp_pass); if (ftp_put($conn_id, Expected result: ---------------- 1 Actual result: -------------- Warning: ftp_put(): Transfer OK 0
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2010-03-03 15:55 UTC] araje at usimagingnetwork dot com
[2010-03-04 13:53 UTC] iliaa@php.net
-Status: Open +Status: Closed
[2010-03-04 13:53 UTC] iliaa@php.net
[2010-03-05 04:11 UTC] alexclifford47 at gmail dot com
[2010-03-09 06:10 UTC] alexclifford47 at gmail dot com
[2016-11-28 17:41 UTC] cmb@php.net
-Status: Closed +Status: Re-Opened
[2016-11-28 17:41 UTC] cmb@php.net
[2017-08-17 03:38 UTC] linh232324 at gmail dot com
[2017-10-20 18:39 UTC] kalle@php.net
-Assigned To: iliaa +Assigned To:
[2017-10-20 18:39 UTC] kalle@php.net
[2018-10-22 19:22 UTC] afterfivebydesign at gmail dot com
[2021-02-17 15:35 UTC] cmb@php.net
-Status: Re-Opened +Status: Feedback -Assigned To: +Assigned To: cmb
[2021-02-17 15:35 UTC] cmb@php.net
[2021-02-28 04:22 UTC] php-bugs at lists dot php dot net