#38114 [Opn->Fbk]: Warning: ftp_put(): User foobar logged in.
ID: 38114
Updated by: sniper@php.net
Reported By: bugada at blu dot it
-Status: Open
+Status: Feedback
Bug Type: FTP related
Operating System: Windows Server 2003
PHP Version: 4.4.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-07-16 16:15:55] bugada at blu dot it
Description:
------------
I'm using ftp_get and ftp_put functions to exchange small text files
between a Windows Server 2003 Web Edition machine and Windows NT 4.0
mounting a Microsoft FTP Service (Version 4.0).
In some cases (randomly I think) the ftp_get (or ftp_put) command
prints this and returns FALSE.
Warning: ftp_get(): User foobar logged in. in D:\myapppath\ftp.php on
line 68
This is the ftp server log:
[17:45:23] 220 dmzmibrz Microsoft FTP Service (Version 4.0).
[17:45:23] USER foobar
[17:45:23] 331 Password required for foobar.
[17:45:23] PASS (hidden)
[17:45:23] 230- Welcome to dummy.tld
[17:45:23] 230 User hrdkft01 logged in.
I can't reproduce it systematically it but it often occurs.
It seems that php ftp functions don't recognize the Welcome message
(230) correctly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38114&edit=1
Thread (4 messages)