PHP ftp_fput( ) FunctionThe ftp_fput() function is used to uploads from an open file to the FTP server. This function was introduced in PHP 4. Syntax:
ReturnsThe ftp_fput() function returns true on success or false on failure. Example 1ExplanationIn the above example, by using ftp_fget() function Open local file, and upload it to a file on the FTP server. Example 2ExplanationIn the above example, by using ftp_fput() function we are uploading a open file to the FTP server.
Next TopicPHP FTP
|