Define :
In this tutorial we learned about PHP ftp_alloc() Function.This PHP ftp_alloc() Function is inbuilt function in php.This function is used to allocate space for a file to be uploaded to the FTP server.
ftp_alloc(ftp, size, response)
ftp |
Required. Specify the FTP connection to use. |
size |
Required. Specify the number of bytes to allocate. |
response |
Optional. Specify a variable. A textual representation of the servers response is stored in this variable if provided. |
Given below example shows the usage of ftp_alloc() function.
Note: Many FTP servers do not support this command!