PHP ftp_alloc() FunctionThe ftp_alloc() function is used to allocate space for a file to be uploaded to the FTP server. This function was introduced in PHP 5. Syntax:
ReturnsThe ftp_alloc() function returns TRUE on success or FALSE on failure. Important note: Many FTP servers do not support this command.Example 1ExplanationIn the above example, by using ftp_alloc() function we allocate space for file in ftp server. Example 2ExplanationIn the above example, by using ftp_alloc() function we allocate the space for file to be uploaded to the FTP server. 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