|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44740 ftp empty file copy returns error
Submitted: 2008-04-16 10:21 UTC Modified: 2008-07-20 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: luigi dot ghirardi at calltrade dot it Assigned:
Status: No Feedback Package: FTP related
PHP Version: 5.2.5 OS: CentOS 5.1
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-04-16 10:21 UTC] luigi dot ghirardi at calltrade dot it
using the COPY function to copy an empty file trough FTP returns error, although the empty file is created correctly on the target.

Reproduce code:
#!/usr/bin/php -q

var_dump(copy("ftp://<userid>:<password>@<HostIP>/<path>/emptyfile", "targetfile"));


Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-20 01:00 UTC] 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".
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Jun 05 17:03:35 2023 UTC