PHP ftp_get( ) FunctionThe ftp_get() function is used to download a file from the FTP server. The ftp_get() function retrieves a remote file from the FTP server, and saves it into a local file. This function was introduced in PHP 4. Syntax:
ReturnsThe ftp_get() function returns true on success or false on failure. Example 1ExplanationIn the above example, by using ftp_get() function we can download a file from ftp server to local file. Example 2ExplanationIn the above example, by using ftp_get() we can download the file from FTP server and saves into local space. Example 3ExplanationIn the above example, by using ftp_get() function we can download the file from FTP server and saves into local file. Next TopicPHP FTP |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India