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

Browndon.Bokanga

Error status code 1 (files not copying over)

WinSCP version - 6.5.1(Build16211 20250505)
WinSCP Sync does not sync file 5020 and
----------------------------------------------------------------------------------------------
. 2025-06-26 17:16:08.924 Collecting synchronization list for local directory '\\SS24\dataintegrations$\Folder1\DropFolder\5002' and remote directory '/DataLoader/Contact/5002', mode = Remote, params = 0x2 (NoConfirmation), file mask = ''
. 2025-06-26 17:16:08.927 Local file '\\SS24\dataintegrations$\Folder1\DropFolder\5002\.' [2025-06-26T14:38:19.955Z] [0] excluded from synchronization
. 2025-06-26 17:16:08.927 Local file '\\SS24\dataintegrations$\Folder1\DropFolder\5002\..' [2025-06-26T14:38:19.955Z] [0] excluded from synchronization
. 2025-06-26 17:16:08.927 Local file '\\SS24\dataintegrations$\Folder1\DropFolder\5002\5002.CSV' [2025-06-26T14:51:35.429Z] [9196] included to synchronization
. 2025-06-26 17:16:08.928 Listing directory "/DataLoader/Contact/5002".
> 2025-06-26 17:16:08.928 Type: SSH_FXP_OPENDIR, Size: 33, Number: 1291
< 2025-06-26 17:16:08.937 Type: SSH_FXP_STATUS, Size: 19, Number: 1028
. 2025-06-26 17:16:08.937 Discarding reserved response
< 2025-06-26 17:16:08.975 Type: SSH_FXP_HANDLE, Size: 13, Number: 1291
> 2025-06-26 17:16:08.975 Type: SSH_FXP_READDIR, Size: 13, Number: 1548
< 2025-06-26 17:16:08.986 Type: SSH_FXP_NAME, Size: 235, Number: 1548
> 2025-06-26 17:16:08.986 Type: SSH_FXP_READDIR, Size: 13, Number: 1804
< 2025-06-26 17:16:08.995 Type: SSH_FXP_STATUS, Size: 34, Number: 1804
< 2025-06-26 17:16:08.995 Status code: 1
> 2025-06-26 17:16:08.995 Type: SSH_FXP_CLOSE, Size: 13, Number: 2052
. 2025-06-26 17:16:08.995 .;d;0;2025-06-26T16:16:08.000Z;4;"sftp-2b3ed5cb019c@apiconnector.com" [0];"users" [0];rwx------;0
. 2025-06-26 17:16:08.995 ..;d;0;2025-06-26T16:16:08.000Z;4;"sftp-2b3ed5cb019c@apiconnector.com" [0];"users" [0];rwx------;0
. 2025-06-26 17:16:08.995 Local file '\\SS24\dataintegrations$\Folder1\DropFolder\5002\5002.CSV' [2025-06-26T14:51:35.429Z] [9196] is new
. 2025-06-26 17:16:08.995 Collecting synchronization list for local directory '\\SS24\dataintegrations$\Folder 1\DropFolder\5020' and remote directory '/DataLoader/Contact/5020', mode = Remote, params = 0x2 (NoConfirmation), file mask = ''
. 2025-06-26 17:16:09.001 Local file '\\SS24\dataintegrations$\Folder1\DropFolder\5020\.' [2025-06-26T16:15:11.749Z] [0] excluded from synchronization
. 2025-06-26 17:16:09.001 Local file '\\SS24\dataintegrations$\Folder1\DropFolder\5020\..' [2025-06-26T16:15:11.749Z] [0] excluded from synchronization
. 2025-06-26 17:16:09.001 Local file '\\SS24\dataintegrations$\Folder1\DropFolder\5020\5020.CSV' [2025-06-26T16:15:10.641Z] [13986] included to synchronization
. 2025-06-26 17:16:09.001 Listing directory "/DataLoader/Contact/5020".
> 2025-06-26 17:16:09.001 Type: SSH_FXP_OPENDIR, Size: 33, Number: 2315
< 2025-06-26 17:16:09.011 Type: SSH_FXP_STATUS, Size: 19, Number: 2052
. 2025-06-26 17:16:09.012 Discarding reserved response
< 2025-06-26 17:16:09.046 Type: SSH_FXP_HANDLE, Size: 13, Number: 2315
> 2025-06-26 17:16:09.046 Type: SSH_FXP_READDIR, Size: 13, Number: 2572
< 2025-06-26 17:16:09.084 Type: SSH_FXP_NAME, Size: 361, Number: 2572
> 2025-06-26 17:16:09.084 Type: SSH_FXP_READDIR, Size: 13, Number: 2828
< 2025-06-26 17:16:09.094 Type: SSH_FXP_STATUS, Size: 34, Number: 2828
< 2025-06-26 17:16:09.095 Status code: 1
> 2025-06-26 17:16:09.095 Type: SSH_FXP_CLOSE, Size: 13, Number: 3076
. 2025-06-26 17:16:09.095 .;d;0;2025-06-26T16:16:09.000Z;4;"sftp-2b3ed5cb019c@apiconnector.com" [0];"users" [0];rwx------;0
. 2025-06-26 17:16:09.095 ..;d;0;2025-06-26T16:16:09.000Z;4;"sftp-2b3ed5cb019c@apiconnector.com" [0];"users" [0];rwx------;0
. 2025-06-26 17:16:09.095 5020.csv;-;14582;2025-06-26T16:16:09.000Z;4;"sftp-2b3ed5cb019c@apiconnector.com" [0];"users" [0];rw-------;0
. 2025-06-26 17:16:09.103 Remote file '/DataLoader/Contact/5020/5020.csv' [2025-06-26T16:16:09.000Z] [14582] is modified comparing to local file '\\SS24\dataintegrations$\Folder1\DropFolder\5020\5020.CSV' [2025-06-26T16:15:10.641Z] [13986]
----------------------------------------------------------------------------------------------
WinSCP does not copy file 5020.csv (file was in WinSCP but did not sync with newer version of file)
5002 copied to WinSCP
This is the current script
synchronize remote -resumesupport="off" "\\folderW\dataintegrations$\folder1\DropFolder\" /DataLoader/Contact/
----------------------------------------------------------------------------------------------
. 2025-06-26 17:16:18.598 Synchronizing local directory '\\SS24\dataintegrations$\Folder1\DropFolder\5002\' with remote directory '/DataLoader/Contact/5002/', params = 0x2 (NoConfirmation)
. 2025-06-26 17:16:18.598 Copying 1 files/directories to remote directory "/DataLoader/Contact/5002/" - total size: 9,196
. 2025-06-26 17:16:18.599 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0001; Resume: N (102400); CalcS: No; Mask: *.*
. 2025-06-26 17:16:18.599 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2025-06-26 17:16:18.599 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2025-06-26 17:16:18.600 File: '\\SS24\dataintegrations$\Folder1\DropFolder\5002\5002.CSV' [2025-06-26T14:51:35.429Z] [9196]
< 2025-06-26 17:16:18.639 Script: Local '\\SS24\dataintegrations$\Folder1\DropFolder\5002' => Remote '/DataLoader/Contact/5002'
. 2025-06-26 17:16:18.644 Copying "\\SS24\dataintegrations$\Folder1\DropFolder\5002\5002.CSV" to remote directory started.
. 2025-06-26 17:16:18.644 Binary transfer mode selected.
. 2025-06-26 17:16:18.644 Opening remote file.
> 2025-06-26 17:16:18.644 Type: SSH_FXP_OPEN, Size: 58, Number: 86275
< 2025-06-26 17:16:18.766 Type: SSH_FXP_HANDLE, Size: 13, Number: 86275
> 2025-06-26 17:16:18.767 Type: SSH_FXP_WRITE, Size: 9221, Number: 86790
> 2025-06-26 17:16:18.768 Type: SSH_FXP_CLOSE, Size: 13, Number: 87044
> 2025-06-26 17:16:18.768 Type: SSH_FXP_SETSTAT, Size: 54, Number: 86537
< 2025-06-26 17:16:18.781 Type: SSH_FXP_STATUS, Size: 19, Number: 86790
< 2025-06-26 17:16:18.781 Status code: 0
< 2025-06-26 17:16:18.799 Type: SSH_FXP_STATUS, Size: 19, Number: 87044
< 2025-06-26 17:16:18.799 Status code: 0
. 2025-06-26 17:16:18.801 Preserving timestamp [2025-06-26T14:51:35.000Z]
< 2025-06-26 17:16:18.844 Type: SSH_FXP_STATUS, Size: 19, Number: 86537
< 2025-06-26 17:16:18.845 Status code: 0
. 2025-06-26 17:16:18.845 Transfer done: '\\SS24\dataintegrations$\Folder1\DropFolder\5002\5002.CSV' => '/DataLoader/Contact/5002/5002.CSV' [9196]
. 2025-06-26 17:16:18.845 Copying finished: Transferred: 31,430, Elapsed: 0:00:05, CPS: 5,868/s
. 2025-06-26 17:16:18.845 Synchronizing local directory '\\SS24\dataintegrations$\Folder1\DropFolder\5021\' with remote directory '/DataLoader/Contact/5021/', params = 0x2 (NoConfirmation)
. 2025-06-26 17:16:18.845 Copying 1 files/directories to remote directory "/DataLoader/Contact/5021/" - total size: 3,070
. 2025-06-26 17:16:18.845 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0001; Resume: N (102400); CalcS: No; Mask: *.*
. 2025-06-26 17:16:18.845 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2025-06-26 17:16:18.845 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml