diff --git a/functions/ftp.xml b/functions/ftp.xml index 4543ed92e2..31635901c4 100644 --- a/functions/ftp.xml +++ b/functions/ftp.xml @@ -412,6 +412,29 @@ + + + ftp_site + Sends a SITE command to the server. + + + Description + + int ftp_site + int ftp_stream + string cmd + + + Returns true on success, false on error. + + 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. + + + ftp_quit