Re: re download with while loop?
WinSCP retries only if the connection is lost while transferring. What is probably not this case.
And, yes, that's a server-side setting.
And, yes, that's a server-side setting.
$result = $null
while ($result.Failures.Count -ne 0){
$result = # Download file here.
}
WinSCP.SessionRemoteException: Error transferring file '/DatabaseBackupFile.BAK'. ---> WinSCP.SessionRemoteException: Copying files from remote side failed.
Failure writing network stream.