Re: How do I create a unique filename when -put- for each file picked up.
WinSCP does not have a function to generate random file names.
But it's easy to write a PowerShell script with use of WinSCP .NET assembly and its
https://winscp.net/eng/docs/library_powershell
https://winscp.net/eng/docs/library_session_enumerateremotefiles
https://winscp.net/eng/docs/library_session_putfiles
But it's easy to write a PowerShell script with use of WinSCP .NET assembly and its
Session.EnumerateRemoteFiles
and Session.PutFiles
methods and Get-Random
PowerShell cmdlet.
https://winscp.net/eng/docs/library_powershell
https://winscp.net/eng/docs/library_session_enumerateremotefiles
https://winscp.net/eng/docs/library_session_putfiles