Differences
This shows you the differences between the selected revisions of the page.
2021-05-10 | 2021-05-14 | ||
Restored revision 1619593843. Undoing revision 1620607313. (martin) (hidden) | scripting and assembly example (martin) | ||
Line 204: | Line 204: | ||
If the server never replies, it may be because of some fatal error on the server side. Also something may be interfering with the connection, preventing the server response from arriving or possibly even the original request to arrive at the server. | If the server never replies, it may be because of some fatal error on the server side. Also something may be interfering with the connection, preventing the server response from arriving or possibly even the original request to arrive at the server. | ||
+ | |||
+ | ==== PErsistent problems ==== | ||
If the problem repeats, try turning off //[[ui_login_connection|Optimize connection buffer size]]//. | If the problem repeats, try turning off //[[ui_login_connection|Optimize connection buffer size]]//. | ||
+ | |||
+ | In [[scripting]], you can turn off the buffer optimization using [[rawsettings#sendbuf|''SendBuf'' raw session settings]]: | ||
+ | <code winscp> | ||
+ | open sftp://user:password@example.com/ -rawsettings SendBuf=0 | ||
+ | </code> | ||
+ | |||
+ | Similarly in [[library|WinSCP .NET assembly]] (a [[library_powershell|PowerShell]] example): | ||
+ | <code powershell> | ||
+ | $sessionOptions = New-Object WinSCP.SessionOptions | ||
+ | ... | ||
+ | $sessionOptions.AddRawSettings("SendBuf", "0") | ||
+ | </code> | ||
Some users also experience this message, when they run out of disk space/quota on the server. | Some users also experience this message, when they run out of disk space/quota on the server. |