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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -