Re: Auto-Transfer Files Every Minute Using a Persistent FTP Connection
You cannot implement a loop easily in a simple WinSCP scripting.
But you can use WinSCP .NET assembly from your favorite scripting language.
For example from PowerShell: https://winscp.net/eng/docs/library_powershell
We have examples for upload, which you can modify according to your needs:
https://winscp.net/eng/docs/faq_script_modified_files#last_timestamp
https://winscp.net/eng/docs/library_example_watch_for_changes
But you can use WinSCP .NET assembly from your favorite scripting language.
For example from PowerShell: https://winscp.net/eng/docs/library_powershell
We have examples for upload, which you can modify according to your needs:
https://winscp.net/eng/docs/faq_script_modified_files#last_timestamp
https://winscp.net/eng/docs/library_example_watch_for_changes