From:             gilem at wsg dot net
Operating system: linux
PHP version:      4.3.3RC3
PHP Bug Type:     Documentation problem
Bug description:  ftp_site docs ambiguous

Description:
------------
http://us4.php.net/manual/en/function.ftp-site.php

the docs do not specify that the SITE command is not supposed to be
included in the second argument.

This could be qualified with an example.

ftp_site( $conn_id, "CHMOD 755 filename" );



Reproduce code:
---------------
ftp_site( $conn_id, "SITE CHMOD 755 filename" );

fails since it sends 
SITE SITE...
to the server.



-- 
Edit bug report at http://bugs.php.net/?id=25063&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25063&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25063&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25063&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25063&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25063&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25063&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25063&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25063&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25063&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25063&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25063&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25063&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25063&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25063&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25063&r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to