ID:               35892
 Updated by:       [EMAIL PROTECTED]
 Reported By:      michal86 at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         FTP related
 Operating System: UNIX, Debian
 PHP Version:      5.0.5-3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2006-01-04 14:57:09] michal86 at gmail dot com

i put wrong ver, it wasnt 5.1, its 5.0 :) sorry

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

[2006-01-04 14:34:01] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.



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

[2006-01-04 14:23:32] michal86 at gmail dot com

Description:
------------
hello..

im connecting to ftp with ftp_pasv() on true, i wanna apply few cmd's
with ftp_raw() (like for example in reproducecode).

just like in example, msg from command "test1" will be showed in var
$y, which is a bug?

in perl is something like $ftp->message() or something like that, to
wait for msg from server after raw command..

Reproduce code:
---------------
$x=ftp_raw($ftp,"test1");
print $x; // nothing will return
$y=ftp_raw($ftp,"test2");
print $y; // will return msg from cmd test1, $x=$y?

Expected result:
----------------
after run the code:

$x=ftp_raw($ftp,"test1");
print $x; // will wait for reply from server on cmd test1, then execute
rest code

$y=ftp_raw($ftp,"test2");
print $y; // after reply on cmd:test1, will send raw cmd:test2.. 

vars $x/$y will have result of cmd test1/test2

or second way is write function to read msg() from server in pasv mode

Actual result:
--------------
$x=ftp_raw($ftp,"test1");
print $x; // nothing will return, code will exec normall
$y=ftp_raw($ftp,"test2");
print $y; // will return msg from cmd test1, $x=$y?


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


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

Reply via email to