Re: Deleting local files after successful transfer via script
Edit 2023: Just add
https://winscp.net/eng/docs/scriptcommand_put#delete
You can run the WinSCP script from batch file that will remove the local file after the WinSCP finishes. Next version of WinSCP will maybe support execution of local commands directly.
-delete
switch to the put
command.
https://winscp.net/eng/docs/scriptcommand_put#delete
put -delete C:\import