Re: Download newest file
Unless you can "calculate" the name of the weekly folder somehow, you cannot use simple scripting.
You will have to use a more powerful language, like PowerShell, with a use of WinSCP .NET assembly.
You can start with this script:
https://winscp.net/eng/docs/script_download_most_recent_file#powershell
You just need to repeat the latest file selection for both the folder and the file.
You will have to use a more powerful language, like PowerShell, with a use of WinSCP .NET assembly.
You can start with this script:
https://winscp.net/eng/docs/script_download_most_recent_file#powershell
You just need to repeat the latest file selection for both the folder and the file.