How to delete files after copying
Hi,
I have the following code to copy files from the remotes server onto my local server. Can someone please help me or advice me as how to delete the files on the remote server once i copy them?
Please need help.
I have the following code to copy files from the remotes server onto my local server. Can someone please help me or advice me as how to delete the files on the remote server once i copy them?
option batch on option confirm off open sftp://<username>:<password>@server -hostkey="ssh-dss xxxxxxxxxxxxxxxx" cd . option transfer binary get -preservetime *.txt F:\FTPShare\ftp\ close exit