From 4c90180fbafc7818963847ef74579144524ad41d Mon Sep 17 00:00:00 2001 From: irc-html Date: Thu, 3 Jan 2002 03:34:31 +0000 Subject: [PATCH] fixed errors, makeable now git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66745 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ftp.xml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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); ]]> - + +