diff --git a/reference/ftp/functions/ftp-fget.xml b/reference/ftp/functions/ftp-fget.xml index 1189d0658a..e824016600 100644 --- a/reference/ftp/functions/ftp-fget.xml +++ b/reference/ftp/functions/ftp-fget.xml @@ -1,5 +1,5 @@ - + ftp_fget @@ -100,7 +100,7 @@ if (ftp_fget($conn_id, $handle, $remote_file, FTP_ASCII, 1)) { // close the connection and the file handler ftp_close($conn_id); -fclose($fp); +fclose($handle); ?> ]]>