Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

gdswll

Re: Error Sending file to SFTP Server

I set the SendBuff to 0 and now the file is being uploaded successfully, very strange since I had that set before and received the same error. I'm beginning to suspect that it may have been an issue on our network side as some work was done on that over the weekend. I'll continue to monitor and if it errors out again I'll append the code and associated logs to this thread.

Thank you for your assistance on this
martin

Re: Error Sending file to SFTP Server

OK, but can you post logs (and code) with the SendBuf set?
gdswll

Error Sending file to SFTP Server

Here are the requested log files
martin

Re: Error Sending file to SFTP Server

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
gdswll

Error Sending file to SFTP Server

I'm getting the error Software caused connection to Abort but I'm unsure as to why I'm getting it. The process runs and creates a 0KB file on the SFTP server but then it times out. The file I'm attempting to load is 31KB. The log file shows that it reaches 30KB, then it stops. I've tried turning of the Optimization buffer with the same results. Below are the Raw Settings i used in the SessionOptions but none of those helped.

sessionOptions.AddRawSettings("PingIntervalSecs", "5");
sessionOptions.AddRawSettings("PingType", "2");
sessionOptions.AddRawSettings("SendBuf", "0");
sessionOptions.AddRawSettings("SshSimple", "0");

Any assistance would be greatly appreciated. I'm using the .Net Assembly WinSCP Version 5.13.7 Build 9125