Help with 'Ignore Permission Errors'
Hi,
I am encountering this problem when i try to transfer files over using the GUI and also scripting by SFTP:
I have checked my settings and has ensured that they are the same with this: https://winscp.net/eng/docs/ui_transfer_custom#upload
Here is the output of my log:
This problem seems to happen only when the files to be transferred are empty (0 bytes).
I will really appreciate any help here. Thank you very much.
I am encountering this problem when i try to transfer files over using the GUI and also scripting by SFTP:
Upload of file 'file.txt' was successful, but error occurred while setting the permissions and/or timestamp.
If the problem persists, turn on 'Ignore permission errors' option.
General failure (server should provide error description).
Error code: 4
Error message from server:
Request code: 9
(A)bort, (R)etry, (S)kip, Ski(p) all:
I have checked my settings and has ensured that they are the same with this: https://winscp.net/eng/docs/ui_transfer_custom#upload
Here is the output of my log:
. 2008-07-30 08:58:22.029 Copying 1 files/directories to remote directory "/"
. 2008-07-30 08:58:22.029 PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: Yes (Yes); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2008-07-30 08:58:22.029 TM: M; ClAr: No; ExclM(No):
. 2008-07-30 08:58:22.029 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2008-07-30 08:58:22.044 File: "D:\file.txt"
. 2008-07-30 08:58:22.044 Copying "D:\file.txt" to remote directory started.
. 2008-07-30 08:58:22.044 Binary transfer mode selected.
. 2008-07-30 08:58:22.044 Opening remote file.
> 2008-07-30 08:58:22.044 Type: SSH_FXP_OPEN, Size: 56, Number: 2563
< 2008-07-30 08:58:22.044 Type: SSH_FXP_STATUS, Size: 40, Number: 2308
. 2008-07-30 08:58:22.044 Discarding reserved response
< 2008-07-30 08:58:22.154 Type: SSH_FXP_HANDLE, Size: 50, Number: 2563
> 2008-07-30 08:58:22.154 Type: SSH_FXP_CLOSE, Size: 50, Number: 3076
> 2008-07-30 08:58:22.154 Type: SSH_FXP_SETSTAT, Size: 56, Number: 2825
< 2008-07-30 08:58:22.263 Type: SSH_FXP_STATUS, Size: 40, Number: 3076
< 2008-07-30 08:58:22.263 Status/error code: 0
< 2008-07-30 08:58:22.373 Type: SSH_FXP_STATUS, Size: 17, Number: 2825
< 2008-07-30 08:58:22.373 Status/error code: 4, Message: 2825, Server: , Language:
* 2008-07-30 08:58:22.373 (ETerminal) General failure (server should provide error description).
* 2008-07-30 08:58:22.373 Error code: 4
* 2008-07-30 08:58:22.373 Error message from server:
* 2008-07-30 08:58:22.373 Request code: 9
. 2008-07-30 08:58:22.373 Asking user:
. 2008-07-30 08:58:22.373 Upload of file 'file.txt' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option. ("General failure (server should provide error description).
. 2008-07-30 08:58:22.373 Error code: 4
. 2008-07-30 08:58:22.373 Error message from server:
. 2008-07-30 08:58:22.373 Request code: 9")
* 2008-07-30 08:58:23.904 (EScpSkipFile) Upload of file 'file.txt' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.
* 2008-07-30 08:58:23.904 General failure (server should provide error description).
* 2008-07-30 08:58:23.904 Error code: 4
* 2008-07-30 08:58:23.904 Error message from server:
* 2008-07-30 08:58:23.904 Request code: 9
. 2008-07-30 08:58:23.904 Listing directory "/".
> 2008-07-30 08:58:23.904 Type: SSH_FXP_OPENDIR, Size: 10, Number: 3339
< 2008-07-30 08:58:24.013 Type: SSH_FXP_HANDLE, Size: 20, Number: 3339
> 2008-07-30 08:58:24.013 Type: SSH_FXP_READDIR, Size: 20, Number: 3596
< 2008-07-30 08:58:24.216 Type: SSH_FXP_NAME, Size: 14875, Number: 3596
> 2008-07-30 08:58:24.216 Type: SSH_FXP_READDIR, Size: 20, Number: 3852
< 2008-07-30 08:58:24.388 Type: SSH_FXP_NAME, Size: 14791, Number: 3852
> 2008-07-30 08:58:24.388 Type: SSH_FXP_READDIR, Size: 20, Number: 4108
< 2008-07-30 08:58:24.482 Type: SSH_FXP_NAME, Size: 14405, Number: 4108
> 2008-07-30 08:58:24.482 Type: SSH_FXP_READDIR, Size: 20, Number: 4364
< 2008-07-30 08:58:24.810 Type: SSH_FXP_NAME, Size: 14105, Number: 4364
> 2008-07-30 08:58:24.810 Type: SSH_FXP_READDIR, Size: 20, Number: 4620
< 2008-07-30 08:58:24.919 Type: SSH_FXP_NAME, Size: 14173, Number: 4620
> 2008-07-30 08:58:24.935 Type: SSH_FXP_READDIR, Size: 20, Number: 4876
< 2008-07-30 08:58:25.013 Type: SSH_FXP_NAME, Size: 6656, Number: 4876
> 2008-07-30 08:58:25.013 Type: SSH_FXP_READDIR, Size: 20, Number: 5132
< 2008-07-30 08:58:25.326 Type: SSH_FXP_STATUS, Size: 40, Number: 5132
< 2008-07-30 08:58:25.326 Status/error code: 1
> 2008-07-30 08:58:25.326 Type: SSH_FXP_CLOSE, Size: 20, Number: 5380
This problem seems to happen only when the files to be transferred are empty (0 bytes).
I will really appreciate any help here. Thank you very much.