ID:               44740
 Updated by:       [EMAIL PROTECTED]
 Reported By:      luigi dot ghirardi at calltrade dot it
-Status:           Open
+Status:           Feedback
 Bug Type:         FTP related
 Operating System: CentOS 5.1
 PHP Version:      5.2.5
 New Comment:

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




Previous Comments:
------------------------------------------------------------------------

[2008-04-16 10:21:36] luigi dot ghirardi at calltrade dot it

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)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44740&edit=1

Reply via email to