Topic "Not syncing filenames with Greek characters (Error 123)"

Author Message
tsoukkis
[View user's profile]

Joined: 2010-02-08
Posts: 1
Location: Greece
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:
Code:
winscp.exe /console /script=Backup2SFTP.script /log=Backup2SFTP.log


Script:
Code:
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:
Code:
...
< 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License