#27491 [Opn->Bgs]: curious Warning with ftp_put()
| From: | iliaa@php.net | Date: | Fri, 12 Mar 2004 01:14:16 +0000 |
| Subject: | #27491 [Opn->Bgs]: curious Warning with ftp_put() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56350@lists.php.net to get a copy of this message | ||
ID: 27491
Updated by: iliaa@php.net
Reported By: joerg dot klein at ifsam dot lu
-Status: Open
+Status: Bogus
Bug Type: FTP related
Operating System: win2k
PHP Version: 4CVS-2004-03-10
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
The warning you are seeing does not come from PHP itself,
but is relayed via PHP from the ftp server you are working
with. This is not a PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2004-03-11 07:20:35] joerg dot klein at ifsam dot lu
in 1 percent of these warning I got the following ErrorMessage:
ErrorNumber: 2
ErrorType: Warning
ErrorMsg: ftp_put(): Type set to I.
------------------------------------------------------------------------
[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