ID:               25822
 User updated by:  jzimmerman at bmslab dot com
-Summary:          ftp_put of small files failes
 Reported By:      jzimmerman at bmslab dot com
 Status:           Bogus
 Bug Type:         FTP related
 Operating System: windows 2000
 PHP Version:      4.3.3
 New Comment:

I should have tried it on different ftp servers before submitting.
Thanks for looking into it. 

- John Zimmerman


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

[2003-10-12 23:17:07] [EMAIL PROTECTED]

I can't reproduce with other FTP servers.
Apprently some bug in that Pablo FTP server.


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

[2003-10-10 12:11:30] jzimmerman at bmslab dot com

Description:
------------
I'm encountering a problem when issuing an ftp_put on small files. If a
file is under about 8K, the put will fail with the following error
message:

Warning: ftp_put(): Connection closed; transfer aborted

In isolating the failure, I was able to take the text file being ftp'd
and remove one line at a time. The ftp worked until the file became
smaller than about 8K.

The failure occurred in both ASCII and BINARY modes.

The destination FTP server in this case is the PABLO FTP server.

Thanks very much for your help,

John Zimmerman

Reproduce code:
---------------
$bUpload = ftp_put($connID, "myTest01.txt",
"c:/public/transfer/intranet/myTest.txt", FTP_BINARY);

Expected result:
----------------
successful ftp transfer

Actual result:
--------------
Warning: ftp_put(): Connection closed; transfer aborted


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


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

Reply via email to