PutFiles Reconnect Loop when Quota Exceeded
Hello,
I am uploading a file to an SFTP server using PowerShell WinSCP .NET Assembly.
WinSCP Version 6.1.2
If the file size quota is exceeded on the server then the connection will be closed and retried in an infinite loop.
I tried turning off
Are there any other options to limit the number of retries that will be attempted, or exit when the quota exceeded status is returned by the server?
Thank you.
I am uploading a file to an SFTP server using PowerShell WinSCP .NET Assembly.
WinSCP Version 6.1.2
If the file size quota is exceeded on the server then the connection will be closed and retried in an infinite loop.
Here is a log excerpt. A full log is attached.Status code: 15, Message: 57094, Server: Maximum upload file size quota exceeded for user, Language: en-US
.. < 2024-02-02 00:27:53.226 Status code: 15, Message: 57094, Server: Maximum upload file size quota exceeded for user, Language: en-US . 2024-02-02 00:27:53.460 Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0 . 2024-02-02 00:27:53.476 Attempt to close connection due to fatal exception: * 2024-02-02 00:27:53.476 Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0 . 2024-02-02 00:27:53.476 Closing connection. . 2024-02-02 00:27:53.476 Fatal error while disposing the SFTP queue. . 2024-02-02 00:27:53.476 Connection was lost, asking what to do. . 2024-02-02 00:27:53.476 Asking user: . 2024-02-02 00:27:53.476 Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0 () < 2024-02-02 00:27:53.476 Script: Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0 . 2024-02-02 00:27:58.492 Answer: Retry < 2024-02-02 00:27:58.492 Script: Searching for host... ..
TransferOptions.ResumeSupport
and setting Session.ReconnectTime
to 1, but the result is the same.
Are there any other options to limit the number of retries that will be attempted, or exit when the quota exceeded status is returned by the server?
Thank you.