Easy Tutorial
❮ Func Filesystem Filemtime Php Ajax Database ❯

PHP ftp_alloc() Function



Definition and Usage

The ftp_alloc() function allocates space for a file to be uploaded to the FTP server.

The function returns TRUE on success and FALSE on failure.

Syntax

Parameter Description
ftp_connection Required. Specifies the FTP connection to use.
size Required. Specifies the number of bytes to allocate.
return Optional. Specifies a variable to store the server response.

Tips and Notes

Note: Many FTP servers do not support this command.


Example 1


Example 2


❮ Func Filesystem Filemtime Php Ajax Database ❯