#23472 [Bgs]: ftp_site() does reply only false/true

From: Date: Sat, 03 May 2003 23:27:38 +0000
Subject: #23472 [Bgs]: ftp_site() does reply only false/true
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39007@lists.php.net to get a copy of this message
 ID:               23472
 User updated by:  marxim at mail dot ee
 Reported By:      marxim at mail dot ee
 Status:           Bogus
 Bug Type:         FTP related
 Operating System: Linux
 PHP Version:      4.3.1
 New Comment:

Then again, my question was: how can get output from raw commands or
how can i execute/run raw commands? There isnt any function what does
the job :(


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

[2003-05-03 18:15:35] derick@php.net

ftp_raw() is added, but only in CVS (see
http://www.php.net/manual/en/function.ftp-raw.php)
and the
documentation for ftp_site() says this:

bool ftp_site ( resource ftp_stream, string cmd)

ftp_site() sends the command specified by cmd to the FTP server. SITE
commands are not standardized, and vary from server to server. They are
useful for handling such things as file permissions and group
membership.

Returns TRUE on success or FALSE on failure. 

Not a bug -> bogus

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

[2003-05-03 17:58:36] marxim at mail dot ee

ftp_site() does only reply false/true, but not what it gets from
server. Also, ftp_raw() function does not exist. So, is any way to get
some information from ftp server if i type some raw commands?

Grz.

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


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



Thread (4 messages)

« previous php.bugs (#39007) next »