Edit report at https://bugs.php.net/bug.php?id=41352&edit=1

 ID:                 41352
 Comment by:         fijo dot com at googlemail dot com
 Reported by:        guy dot vleugels at kaneka dot be
 Summary:            Warning: ftp_get() PORT command successful
 Status:             Closed
 Type:               Bug
 Package:            FTP related
 Operating System:   RH9
 PHP Version:        5.2.2
 Block user comment: N
 Private report:     N

 New Comment:

2 my last comment - it works fine using pasive mode and it takes mutch shorter 
(nonpassive: ~ 90sec+ ; passive: ~ 5sec - same operation - note, that 
nonpassive 
is not sucessfull)


Previous Comments:
------------------------------------------------------------------------
[2011-07-31 14:38:40] fijo dot com at googlemail dot com

> Is there a public FTP server (or is it possible to create one) which 
demonstrates the same problem?

I got this problem while using my ftp-server on funpic.de

Thats a free hosting service (so you can use it to reproduce that exeption) 
from 
that it produces those errors for me, too.

XAMPP 1.7.4; PHP 5.3.5; linux

------------------------------------------------------------------------
[2007-06-07 07:33:07] guy dot vleugels at kaneka dot be

I've found what seemed to be the problem.

When a text-file is downloaded through the ftp_get()-function and the file is 
loaded into an array using the file()-function, the separate lines of the array 
aren't trimmed by default (so you have to use the trim()-function on each line 
of the array).

So this isn't a bug, but only a behaviour change of the file()-function or the 
ftp_get()-function as of PHP > 5.2.1

------------------------------------------------------------------------
[2007-05-23 09:39:45] tobylewis at logogriph dot com

Running PHP 5.0.4 (from www.entropy.ch) on Mac OS X 10.4.9

I am also seeing this error but on just about all ftp commands.

I suspect some ftp servers return a status string "PORT command successful" 
which php is passing along as a warning but since this message is not intended 
as a warning it is annoying to receive the "error".  Trying to block the 
unwanted error with the at symbol is not ideal since that would deflect genuine 
errors too.

------------------------------------------------------------------------
[2007-05-19 01:00:01] 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".

------------------------------------------------------------------------
[2007-05-11 11:26:21] [email protected]

The server is in passive mode, so your starts working fine as soon as I add 
ftp_pasv($ftpcnn, true);.


------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=41352


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=41352&edit=1

Reply via email to