I'm using several lftp scripts and sftp scripts on linux with openssh. Is there a way in sftp scripts to delete the local file (or move it to another local directory -- like a /completed directory) after it successfully is transferred? I only want to delete or move the files if they are transferred successfully.
Start Free Trial