I am new using this tool, use the following script to synchronize files from a remote folder called "cdr" to a local folder called "CDRTEST"
option batch abort
option confirm off
open sftp://root:Jksldesfirstname.lastname@example.org:451/ -hostkey="ssh-Za26611 254 3c:81:t5:e7:41:79:00:a0:77:e7:d1:2a:c1:51:7c:b2"
synchronize local C:\Users\CDRTEST /cdr
the script works correctly, but I need to delete the files in the CDR folder after synchronizing them, any recommendations?
I had thought of the following line:
put -delete local C:\Users\CDRTEST /cdr
Is my interpretation correct?