#27491 [Fbk->Opn]: curious Warning with ftp_put()
| From: | joerg dot klein at ifsam dot lu | Date: | Mon, 08 Mar 2004 08:11:47 +0000 |
| Subject: | #27491 [Fbk->Opn]: curious Warning with ftp_put() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56078@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: Feedback
+Status: Open
Bug Type: FTP related
Operating System: win2k
PHP Version: 4.3.4
New Comment:
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 ;)
Previous Comments:
------------------------------------------------------------------------
[2004-03-05 18:52:37] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[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