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: Not syncing filenames with Greek characters (Error 123)

Please read FAQ. If that does not help, come back.
tsoukkis

Not syncing filenames with Greek characters (Error 123)

Hi there,

It seems that WinSCP cannot read a file with Greek characters in the filename.
Actually I am testing now with Greek characters, but will need a general solution as Spanish, Serbian, etc. characters will be used.

I always get System Error: Code 123

Thanks in advance,
tsoukkis

Here is the info:

Command:
winscp.exe /console /script=Backup2SFTP.script /log=Backup2SFTP.log


Script:
option batch continue

option confirm off
open Backup2SFTP -hostkey="ssh-rsa 1024 xx:xx:xx..."
option transfer binary
synchronize remote -criteria=both d:/TestSFTP /sftpclient001/
exit


Log:
...

< 2010-02-08 05:28:16.836 Status code: 1
> 2010-02-08 05:28:16.836 Type: SSH_FXP_CLOSE, Size: 22, Number: 119300
. 2010-02-08 05:28:16.836 Synchronizing local directory 'd:/TestSFTP\' with remote directory '/sftpclient001/', params = 1026
. 2010-02-08 05:28:16.836 Synchronizing local directory 'd:/TestSFTP\Greek\SP1\' with remote directory '/sftpclient001/Greek/SP1/', params = 1026
. 2010-02-08 05:28:16.836 Copying 1 files/directories to remote directory "/sftpclient001/Greek/SP1/"
. 2010-02-08 05:28:16.836   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask: *.*
. 2010-02-08 05:28:16.836   TM: B; ClAr: No; CPS: 0; ExclM(No):
. 2010-02-08 05:28:16.836   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2010-02-08 05:28:16.836 File: "d:/TestSFTP\Greek\SP1\?ept?µ??e?e? st???e??? ????? ???a?e?a ???ss???? e?????? t?? Microsoft Office 2007 Service Pack 1 (SP1).URL"
* 2010-02-08 05:28:16.836 (EOSError) System Error.  Code: 123.

* 2010-02-08 05:28:16.836 The filename, directory name, or volume label syntax is incorrect
. 2010-02-08 05:28:16.836 Asking user:
. 2010-02-08 05:28:16.836 File or folder 'd:/TestSFTP\Greek\SP1\?ept?µ??e?e? st???e??? ????? ???a?e?a ???ss???? e?????? t?? Microsoft Office 2007 Service Pack 1 (SP1).URL' does not exist. ("System Error.  Code: 123.

. 2010-02-08 05:28:16.836 The filename, directory name, or volume label syntax is incorrect")
* 2010-02-08 05:28:16.836 (EScpSkipFile) File or folder 'd:/TestSFTP\Greek\SP1\?ept?µ??e?e? st???e??? ????? ???a?e?a ???ss???? e?????? t?? Microsoft Office 2007 Service Pack 1 (SP1).URL' does not exist.
* 2010-02-08 05:28:16.836 System Error.  Code: 123.
* 2010-02-08 05:28:16.836 The filename, directory name, or volume label syntax is incorrect
. 2010-02-08 05:28:16.836 Closing connection.
. 2010-02-08 05:28:16.836 Sending special code: 12



UTF-8 Encoding for Filenames is On
WinSCP is running on W2K8 Server x64