#27491 [Opn->Fbk]: curious Warning with ftp_put()
| From: | sniper@php.net | Date: | Tue, 09 Mar 2004 13:23:26 +0000 |
| Subject: | #27491 [Opn->Fbk]: curious Warning with ftp_put() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56159@lists.php.net to get a copy of this message | ||
ID: 27491
Updated by: sniper@php.net
Reported By: joerg dot klein at ifsam dot lu
-Status: Open
+Status: Feedback
Bug Type: FTP related
Operating System: win2k
-PHP Version: 4.3.4
+PHP Version: 4CVS-2004-03-05
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
There were some problems with the stable snapshots til now so please
grab the latest from now.
Previous Comments:
------------------------------------------------------------------------
[2004-03-09 04:54:03] joerg dot klein at ifsam dot lu
the problem is still there!
I got no warning for 3 hours and then 2 warnings in 3 minutes on
different lines
------------------------------------------------------------------------
[2004-03-08 06:36:29] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-03-08 03:11:47] joerg dot klein at ifsam dot lu
ok, here you get some more infos:
the scripts connects to this FTP-Server: cl06 FTP server (SunOS 5.8)
connection:
$conn_ftp = ftp_connect($ftp_server);
$login_result = ftp_login($conn_ftp, $ftp_user_name,
$ftp_user_pass);
ftp_pasv($conn_ftp, true);
upload (9 times in the script):
ftp_put($conn_ftp, $path_file_ImportFinished_t,
$path_file_ImportFinished_s, FTP_BINARY);
I expect all files to be uploaded correctly, but sometimes I get the
warning for upload #3, sometimes for upload #6,...
and the file does not get uploaded.
In 99.9% of the time the script works without a problem!
If you need some more infos, leave a note ;)
------------------------------------------------------------------------
[2004-03-04 05:45:40] joerg dot klein at ifsam dot lu
Description:
------------
I have a script that create some files and upload them to an FTP
server. this script runs every minute.
I got this warning sporadically (sometimes 3 times a day, sometimes 1
per week):
ErrorNumber: 2
ErrorType: Warning
ErrorMsg: ftp_put(): Transfer complete.
The file does not get uploaded.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27491&edit=1