php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38114 Warning: ftp_put(): User foobar logged in.
Submitted: 2006-07-16 16:15 UTC Modified: 2006-08-09 01:00 UTC
Votes:5
Avg. Score:4.4 ± 0.8
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:4 (80.0%)
From: bugada at blu dot it Assigned:
Status: No Feedback Package: FTP related
PHP Version: 4.4.2 OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugada at blu dot it
New email:
PHP Version: OS:

 

 [2006-07-16 16:15 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-22 12:15 UTC] sniper@php.net
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


 [2006-07-30 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-08-01 12:07 UTC] bugada at blu dot it
Sorry, I can't use php 5 because the application works with php 4 only. 

And I can't figure out why you are suggesting to upgrade to php5 while is clearly stated that the bug is on php4.
 [2006-08-01 12:10 UTC] tony2001@php.net
It's clearly stated that Jani wanted you to TRY PHP5 and not to UPGRADE your PHP.
 [2006-08-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 04:01:29 2024 UTC