diff --git a/functions/ftp.xml b/functions/ftp.xml index ad179ed3f6..17e546f2d7 100644 --- a/functions/ftp.xml +++ b/functions/ftp.xml @@ -1,5 +1,5 @@ - + FTP functions FTP @@ -54,7 +54,7 @@ if (!$upload) { } // close the FTP stream -ftp_quit($conn_id); +ftp_close($conn_id); ?> ]]> @@ -316,7 +316,7 @@ ftp_quit($conn_id); bool ftp_pasv - int ftp_stream + resource ftp_stream bool pasv @@ -595,6 +595,25 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); + + + ftp_close + Closes an FTP connection + + + Description + + + void ftp_close + resource ftp_stream + + + + ftp_close closes ftp_stream. + + + + ftp_quit @@ -604,12 +623,13 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); Description - boid ftp_quit + void ftp_quit resource ftp_stream - ftp_quit closes ftp_stream. + ftp_quit is an alias for + ftp_close. @@ -631,7 +651,9 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); - &warn.undocumented.func; + Sends a SITE EXEC command request to the ftp + server. Returns &false; if the request fails, returns the output of the + command otherwise.