Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: Syncing files that are open

ben@eds wrote:

By default scripted syncing doesn't work for files that are open. Is there a way to get it to work by using the last saved version or is the file totally inaccessible?

There are methods to access the file. But WinSCP do not support them.
ben@eds

Syncing files that are open

Hi Martin,

By default scripted syncing doesn't work for files that are open. Is there a way to get it to work by using the last saved version or is the file totally inaccessible?

Thanks,
Ben
Guest

Gotcha, thanks for that info. And yes strange indeed...
martin

There are no WinSCP error codes.
Error codes you can see in WinSCP error messages are either codes that come from the server, which are protocol specific (like the SFTP codes that you have found). Or they can be Windows system error codes. What is the case of your error code.
https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes
Interestingly, code 395 is not documented.
Guest

I am more looking for general documentation so I can proactively write some audit code. I do not have a question on a particular error at the moment. Is there somewhere that describes all of the errors?

Here is a snippet of the log:
\KBH_US_Model.xlsx' [2020-01-15T16:15:49.000Z] [22116]

. 2020-01-17 00:00:17.454 Copying "C:\Users\Away\EDS Asset Management LP\EDS Asset Management - Documents\Models\Desi Coverage\Home Builders\KBH\KBH_US_EDS_Model.xlsx" to remote directory started.
. 2020-01-17 00:00:17.454 Binary transfer mode selected.
. 2020-01-17 00:00:17.454 Opening remote file.
> 2020-01-17 00:00:17.454 Type: SSH_FXP_OPEN, Size: 107, Number: 145155
< 2020-01-17 00:00:17.469 Type: SSH_FXP_HANDLE, Size: 13, Number: 145155
* 2020-01-17 00:00:17.489 (EOSError) System Error.  Code: 395.

* 2020-01-17 00:00:17.489 Access to the cloud file is denied
. 2020-01-17 00:00:17.489 Asking user:
. 2020-01-17 00:00:17.489 Error reading file 'C:\Users\Away\EDS Asset Management LP\EDS Asset Management - Documents\Models\Desi Coverage\Home Builders\KBH\KBH_US_EDS_Model.xlsx'. ("System Error.  Code: 395.

. 2020-01-17 00:00:17.489 Access to the cloud file is denied")
< 2020-01-17 00:00:17.489 Script: Error reading file 'C:\Users\Away\EDS Asset Management LP\EDS Asset Management - Documents\Models\Desi Coverage\Home Builders\KBH\KBH_US_EDS_Model.xlsx'.
< 2020-01-17 00:00:17.489 Script: System Error.  Code: 395.

< 2020-01-17 00:00:17.489 Access to the cloud file is denied
> 2020-01-17 00:00:17.489 Type: SSH_FXP_CLOSE, Size: 13, Number: 145668
< 2020-01-17 00:00:17.505 Type: SSH_FXP_STATUS, Size: 24, Number: 145668
< 2020-01-17 00:00:17.505 Status code: 0
martin

Re: Error Codes

Can you post a complete message you are getting? Or even better a session file.
ben@eds

Error Codes

Hi! This isn't a bug but I am looking for a place that can explain the error codes. I found one link, https://winscp.net/eng/docs/sftp_codes, but it only has error codes up to 31. The error codes I see are 3 digits. For example 389 (I think it means the file is open but I am not sure). Is there a more comprehensive list of the error codes and their meanings?

Thanks,
Ben