|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-12 23:23 UTC] felipe@php.net
[2008-07-20 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 17:00:02 2025 UTC |
Description: ------------ 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 <?php var_dump(copy("ftp://<userid>:<password>@<HostIP>/<path>/emptyfile", "targetfile")); ?> Expected result: ---------------- bool(true) Actual result: -------------- bool(false)