ftp_append
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.2.0, PHP 8)
Append the contents of a file to another file on the FTP server
Description
ftp_append(FTP\Connection $ftp, string $remote_filename, string $local_filename, int $mode = FTP_BINARY): bool
ftp_append() uploads the contents of local_filename to the FTP server, appending them to remote_filename instead of overwriting it.
Parameters
ftpFtp
remote_filenameThe remote file path to append to.
local_filenameThe local file path whose contents are uploaded.
modeThe transfer mode. Must be either
FTP_ASCIIorFTP_BINARY.
Return Values
Success
Changelog
| Version | Description |
|---|