Topic "BUG: Duplicating folders and files with international symb"

Author Message
Splinty
[View user's profile]
Donor
Joined: 2008-10-01
Posts: 33
Location: Russia, Kurgan
Hello.
It's definitely a problem for WinSCP to duplicate files and folders (inside one tree).

I'm using SFTP connection, host has UTF-8 encoding of file names.
PuTTY with Translation=UTF-8 connects to host and successfully performs a duplicating.
I mean, that i copy shell command failed in WinSCP separate session, then open PuTTY session, paste command into shell and run it without any problem. In fact PuTTY+Translation=UTF-8 doesn't have any problem while working with internationally named files and folders et all. So WinSCP also can do that, right?!

In fact error messages are the same if I set PuTTY Translation parameter emptied and try to run a command. I guess that WinSCP start its Terminal and try to run a command, but Terminal doesn't translate symbols like PuTTY do and failed.

In the same time moving of that folders and files works fine (except for http://winscp.net/forum/viewtopic.php?t=6178)

Here You are results (in fact the results of working Terminal)

English file from english folder to russian folder

Command 'cp -p -r -f "01-Best kept secret.mp8" "/home/test/bat/ДИР/01-Best kept secret.mp8"'
failed with return code 1 and error message
cp: cannot create regular file `/home/test/bat/\304\310\320/01-Best kept secret.mp8': No such file or directory.

English file from russian folder to english folder:

Command 'cd "/home/test/bat/ДИР"'
failed with return code 1 and error message
-jailshell: line 16: cd: /home/test/bat/ДИР: No such file or directory.

Command 'cp -p -r -f "01-Best kept secret.mp8" "/home/test/bat/FOLD/01-Best kept secret.mp8"'
failed with return code 1 and error message
cp: cannot stat `01-Best kept secret.mp8': No such file or directory.


Russian file from english folder to english folder

Command 'cp -p -r -f "Между небом и землей.mp8 "/home/test/bat/FOLD/Между небом и землей.mp8"'
failed with return code 1 and error message
cp: cannot stat `\314\345\346\344\363 \355\345\341\356\354 \350 \347\345\354\353\345\351.mp8': No such file or directory.

It's very sorry Sad It seems bug to be simple and have the same roots as one reported here http://winscp.net/forum/viewtopic.php?t=6193.

In fact WinSCP's Terminal needs to have Translation parameter and it will solve lot of problems!

Please try to fix it! WinSCP is close to be perfect!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
It is still the same problem. You can use duplicating via local temporary copy instead as workaround.
_________________
Martin Prikryl
Splinty
[View user's profile]
Donor
Joined: 2008-10-01
Posts: 33
Location: Russia, Kurgan
Yes, about "the same" but no about "workaround" Smile
Really good workaround is to copy command from Error dialog and run it in PuTTY session Wink
_________________
Sors mea Jesus!
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