Re: Move and delete - Local directory
Use the Upload and Delete command in the GUI. And then have the GUI generate the script for you on the Upload confirmation dialog.
https://beta.winscp.net/eng/docs/guide_automation#generating
https://beta.winscp.net/eng/docs/guide_automation#generating