Re: After run script folder is deleted
Not with simple WinSCP scripting. You would have to use more powerful language, like PowerShell with use of WinSCP .NET assembly. After all, you already have such script.
Alternatively, keep your original solution and move the downloaded file one level up after the transfer.
Alternatively, keep your original solution and move the downloaded file one level up after the transfer.