diff --git a/functions/ftp.xml b/functions/ftp.xml index 9525efc62a..ad179ed3f6 100644 --- a/functions/ftp.xml +++ b/functions/ftp.xml @@ -1,5 +1,5 @@ - + FTP functions FTP @@ -73,8 +73,12 @@ ftp_quit($conn_id); resource ftp_connect string host - int port - int timeout + int + port + + int + timeout + @@ -670,7 +674,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); - FTP_TIMEOUT_SEC + FTP_TIMEOUT_SEC Changes the timeout in seconds used for all network related functions. Parameter value has be to of type int and must be greater than 0. The default timeout is 90 @@ -688,7 +692,8 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); // Set the network timeout down to 10 seconds ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10); ]]> - + + @@ -728,7 +733,7 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10); - FTP_TIMEOUT_SEC + FTP_TIMEOUT_SEC Returns the current timeout used for network related operations. @@ -744,7 +749,8 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10); // Get the timeout of the given FTP stream $timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC); ]]> - + +