BUG: Duplicating folders and files with international symb

Advertisement

Splinty
Donor
Joined:
Posts:
33
Location:
Russia, Kurgan

BUG: Duplicating folders and files with international symb

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 https://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 :( It seems bug to be simple and have the same roots as one reported here https://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!

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: BUG: Duplicating folders and files with international symb

It is still the same problem. You can use duplicating via local temporary copy instead as workaround.
_________________
Martin Prikryl

Reply with quote

Splinty
Donor
Joined:
Posts:
33
Location:
Russia, Kurgan

Yes, about "the same" but no about "workaround" :)
Really good workaround is to copy command from Error dialog and run it in PuTTY session :wink:
_________________
Sors mea Jesus!

Reply with quote

Advertisement

You can post new topics in this forum