#38114 [NEW]: Warning: ftp_put(): User foobar logged in.
From: bugada at blu dot it
Operating system: Windows Server 2003
PHP version: 4.4.2
PHP Bug Type: FTP related
Bug description: Warning: ftp_put(): User foobar logged in.
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 bug report at http://bugs.php.net/?id=38114&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38114&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38114&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38114&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38114&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38114&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38114&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38114&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38114&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38114&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38114&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38114&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38114&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38114&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38114&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38114&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38114&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38114&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38114&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38114&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38114&r=mysqlcfg
Thread (4 messages)
- bugada at blu dot it