PHP ftp_fget() FunctionThe ftp_fget() function is used to downloads a file from the FTP server and saves to an open file. This function was introduced in PHP 4. Syntax:
ReturnsThe ftp_fget( ) function returns true on success or false on failure. Example 1ExplanationIn the above example, by using ftp_fget() function we are downloading a file from the FTP server and saves to an open file. Example 2ExplanationIn the above example, by using ftp_fget() function we are downloading the file from FTP server and saves on the given location. Example 3ExplanationIn the above example, by using ftp_fget() function we are downloading the file from ftp server and save the file on the given location. 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