Append to a remote file via FTP in shell script -


is there way write/append remote file via ftp? need append content in file located in server? there way shell script?

you can use curl --append flag:

(ftp/sftp) when used in upload, makes curl append target file instead of overwriting it. if remote file doesn't exist, created. note flag ignored sftp servers (including openssh).

see curl man page.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -