|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: luigi dot ghirardi at calltrade dot it
New email:
PHP Version: OS:


 [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: Thu Jun 08 22:03:38 2023 UTC