#27491 [Opn]: curious Warning with ftp_put()
| From: | joerg dot klein at ifsam dot lu | Date: | Thu, 11 Mar 2004 12:20:35 +0000 |
| Subject: | #27491 [Opn]: curious Warning with ftp_put() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56291@lists.php.net to get a copy of this message | ||
ID: 27491
User updated by: joerg dot klein at ifsam dot lu
Reported By: joerg dot klein at ifsam dot lu
Status: Open
Bug Type: FTP related
Operating System: win2k
PHP Version: 4CVS-2004-03-10
New Comment:
in 1 percent of these warning I got the following ErrorMessage:
ErrorNumber: 2
ErrorType: Warning
ErrorMsg: ftp_put(): Type set to I.
Previous Comments:
------------------------------------------------------------------------
[2004-03-10 02:35:53] joerg dot klein at ifsam dot lu
problem still there!
------------------------------------------------------------------------
[2004-03-09 08:23:25] 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
There were some problems with the stable snapshots til now so please
grab the latest from now.
------------------------------------------------------------------------
[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