Deleting the uploaded files is easy. Just add
https://winscp.net/eng/docs/scriptcommand_put#delete
Moving the uploaded files is more difficult.
Native transactionally-safe support in scripting is tracked here:
Issue 2153 – Moving transferred files to another folder in scripting
You can vote for it in the tracker.
Until that is implemented, see
Moving local files to different location after successful upload
-delete
to the put
command.
https://winscp.net/eng/docs/scriptcommand_put#delete
Moving the uploaded files is more difficult.
Native transactionally-safe support in scripting is tracked here:
Issue 2153 – Moving transferred files to another folder in scripting
You can vote for it in the tracker.
Until that is implemented, see
Moving local files to different location after successful upload