put command, -moveto folder
-delete
is valuable for get
and put
because it ensures that every file is sent exactly once. No files are sent twice and no files are deleted and not sent. To gain feature parity with other clients (POSTXFER
PXMOVE
) I'd like a -moveto
folder option added to the put
command. I don't see any parallel to the get
command.
put -moveto Done *.txt
Done
folder.)
put -moveto Done -delete *.txt
I shouldn't need to mention this but I will for completeness. It is imperative that the
-delete
and or -moveto
be performed immediately after each file the server reports put complete. Delete and move actions cannot be collected to be batched after the transfer completes.