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: WinSCP permissions error

artsylar wrote:

is there a way to set "ignore permission errors" in a script? without using the WinSCP GUI?

No, but this FAQ may help you.
artsylar

WinSCP permissions error

is there a way to set "ignore permission errors" in a script? without using the WinSCP GUI?
martin

Re: error log documentation?

muellert2 wrote:

could you describe the log file in detail or is anywhere a documentation about the log entries?

It won't help you probably. What is not clear to you?
muellert2

error log documentation?

could you describe the log file in detail or is anywhere a documentation about the log entries?

Thanks!
Timo
martin

Re: sync error log

The file being overwritten is probably not owned by the user logged in. Either change the ownership or follow the suggestion from the error message:
Upload of file 'PRO.TXT' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn off 'Set permissions' and/or 'Preserve timestamp' option.
muellert2

sync error log

Hello,

we sync two huge folder with Winscp. Last days errors occured!
Could somebody help to read the part of the log file:

...
. 2006-05-16 04:25:47.531 Synchronizing local directory 'D:\Produktiv\Swprod\KUNDE\17500494.06' with remote directory '/home/swprod/KUNDE/17500494.06', mode = 0, params = 3
. 2006-05-16 04:25:47.547 Listing directory "/home/swprod/KUNDE/17500494.06".
> 2006-05-16 04:25:47.547 Type: SSH_FXP_OPENDIR, Size: 39, Number: 27182859
< 2006-05-16 04:25:47.562 Type: SSH_FXP_STATUS, Size: 24, Number: 27182596
. 2006-05-16 04:25:47.562 Discarding reserved response
< 2006-05-16 04:25:47.593 Type: SSH_FXP_HANDLE, Size: 13, Number: 27182859
> 2006-05-16 04:25:47.593 Type: SSH_FXP_READDIR, Size: 13, Number: 27183116
< 2006-05-16 04:25:47.656 Type: SSH_FXP_NAME, Size: 420, Number: 27183116
> 2006-05-16 04:25:47.656 Type: SSH_FXP_READDIR, Size: 13, Number: 27183372
< 2006-05-16 04:25:47.703 Type: SSH_FXP_STATUS, Size: 28, Number: 27183372
< 2006-05-16 04:25:47.703 Status/error code: 1
> 2006-05-16 04:25:47.703 Type: SSH_FXP_CLOSE, Size: 13, Number: 27183620
. 2006-05-16 04:25:47.703 Synchronizing local directory 'D:\Produktiv\Swprod\KUNDE\17500494.06\Disk1' with remote directory '/home/swprod/KUNDE/17500494.06/Disk1', mode = 0, params = 3
. 2006-05-16 04:25:47.718 Listing directory "/home/swprod/KUNDE/17500494.06/Disk1".
> 2006-05-16 04:25:47.718 Type: SSH_FXP_OPENDIR, Size: 45, Number: 27183883
< 2006-05-16 04:25:47.734 Type: SSH_FXP_STATUS, Size: 24, Number: 27183620
. 2006-05-16 04:25:47.734 Discarding reserved response
< 2006-05-16 04:25:47.765 Type: SSH_FXP_HANDLE, Size: 13, Number: 27183883
> 2006-05-16 04:25:47.765 Type: SSH_FXP_READDIR, Size: 13, Number: 27184140
< 2006-05-16 04:25:48.922 Type: SSH_FXP_NAME, Size: 1669, Number: 27184140
> 2006-05-16 04:25:48.922 Type: SSH_FXP_READDIR, Size: 13, Number: 27184396
< 2006-05-16 04:25:48.953 Type: SSH_FXP_STATUS, Size: 28, Number: 27184396
< 2006-05-16 04:25:48.953 Status/error code: 1
> 2006-05-16 04:25:48.953 Type: SSH_FXP_CLOSE, Size: 13, Number: 27184644
. 2006-05-16 04:25:48.953 Synchronizing local directory 'D:\Produktiv\Swprod\KUNDE\17500494.06\Disk1\DOCS' with remote directory '/home/swprod/KUNDE/17500494.06/Disk1/DOCS', mode = 0, params = 3
. 2006-05-16 04:25:48.969 Listing directory "/home/swprod/KUNDE/17500494.06/Disk1/DOCS".
> 2006-05-16 04:25:48.969 Type: SSH_FXP_OPENDIR, Size: 50, Number: 27184907
< 2006-05-16 04:25:48.984 Type: SSH_FXP_STATUS, Size: 24, Number: 27184644
. 2006-05-16 04:25:48.984 Discarding reserved response
< 2006-05-16 04:25:49.015 Type: SSH_FXP_HANDLE, Size: 13, Number: 27184907
> 2006-05-16 04:25:49.015 Type: SSH_FXP_READDIR, Size: 13, Number: 27185164
< 2006-05-16 04:25:49.078 Type: SSH_FXP_NAME, Size: 697, Number: 27185164
> 2006-05-16 04:25:49.078 Type: SSH_FXP_READDIR, Size: 13, Number: 27185420
< 2006-05-16 04:25:49.109 Type: SSH_FXP_STATUS, Size: 28, Number: 27185420
< 2006-05-16 04:25:49.109 Status/error code: 1
> 2006-05-16 04:25:49.109 Type: SSH_FXP_CLOSE, Size: 13, Number: 27185668
. 2006-05-16 04:25:49.109 Copying 4 files/directories to remote directory "/home/swprod/KUNDE/17500494.06/Disk1/DOCS"
. 2006-05-16 04:25:49.109 PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: Yes; FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask: *.*
. 2006-05-16 04:25:49.109 TM: B; ClAr: No; ExclM(No):
. 2006-05-16 04:25:49.109 AscM: *.*html; *.htm; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2006-05-16 04:25:49.109 File: "D:\Produktiv\Swprod\KUNDE\17500494.06\Disk1\DOCS\PRO.TXT"
. 2006-05-16 04:25:49.109 Copying "D:\Produktiv\Swprod\KUNDE\17500494.06\Disk1\DOCS\PRO.TXT" to remote directory started.
. 2006-05-16 04:25:49.109 Binary transfer mode selected.
. 2006-05-16 04:25:49.109 Opening remote file.
> 2006-05-16 04:25:49.109 Type: SSH_FXP_OPEN, Size: 74, Number: 27185923
< 2006-05-16 04:25:49.140 Type: SSH_FXP_STATUS, Size: 24, Number: 27185668
. 2006-05-16 04:25:49.140 Discarding reserved response
< 2006-05-16 04:25:49.187 Type: SSH_FXP_HANDLE, Size: 13, Number: 27185923
> 2006-05-16 04:25:49.219 Type: SSH_FXP_WRITE, Size: 4121, Number: 27186438
. 2006-05-16 04:25:49.234 2 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2006-05-16 04:25:49.234 Type: SSH_FXP_CLOSE, Size: 13, Number: 27186948
> 2006-05-16 04:25:49.234 Type: SSH_FXP_SETSTAT, Size: 74, Number: 27186185
< 2006-05-16 04:25:49.265 Type: SSH_FXP_STATUS, Size: 24, Number: 27186694
< 2006-05-16 04:25:49.265 Type: SSH_FXP_STATUS, Size: 24, Number: 27186948
< 2006-05-16 04:25:49.265 Status/error code: 0
< 2006-05-16 04:25:49.406 Type: SSH_FXP_STATUS, Size: 34, Number: 27186185
< 2006-05-16 04:25:49.406 Status/error code: 3, Message: 27186185, Server: Permission denied, Language:
* 2006-05-16 04:25:49.422 (ETerminal) Permission denied.
* 2006-05-16 04:25:49.422 Error code: 3
* 2006-05-16 04:25:49.422 Error message from server: Permission denied
* 2006-05-16 04:25:49.422 Request code: 9
. 2006-05-16 04:25:49.422 Asking user:
. 2006-05-16 04:25:49.422 Upload of file 'PRO.TXT' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn off 'Set permissions' and/or 'Preserve timestamp' option. ("Permission denied.
. 2006-05-16 04:25:49.422 Error code: 3
. 2006-05-16 04:25:49.422 Error message from server: Permission denied
. 2006-05-16 04:25:49.422 Request code: 9")
* 2006-05-16 04:25:49.437 (EScpSkipFile) Upload of file 'PRO.TXT' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn off 'Set permissions' and/or 'Preserve timestamp' option.
* 2006-05-16 04:25:49.437 Permission denied.
* 2006-05-16 04:25:49.437 Error code: 3
* 2006-05-16 04:25:49.437 Error message from server: Permission denied
* 2006-05-16 04:25:49.437 Request code: 9
. 2006-05-16 04:25:49.437 Closing connection.

Thanks!

Regards
Timo