ID: 25822 Updated by: [EMAIL PROTECTED] Reported By: jzimmerman at bmslab dot com -Status: Open +Status: Bogus Bug Type: FTP related Operating System: windows 2000 PHP Version: 4.3.3 New Comment:
I can't reproduce with other FTP servers. Apprently some bug in that Pablo FTP server. Previous Comments: ------------------------------------------------------------------------ [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