Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using PuTTY's command line utility psftp.exe to transfer files between a UTF8-configured linux server and a MS Windows PC.

File names containing non ASCII characters (e.g., Japanese kana) are corrupted when using the 'ls' or 'get' commands of the psftp utility.

I tried to create a saved session from putty.exe with the translation set to UTF8, and use that saved session from psftp.exe (i.e., open saved_session_with_UTF8_translation), but the filename characters were still corrupted.

How can I configure psftp.exe so that it uses the right charset for the file names?

share|improve this question

1 Answer 1

You could try using tar(1) to make an archive of the files before you send them. Most (Windows) programs that support GNU Tarballs support converting the filenames to the Windows character set.

share|improve this answer
1  
Can you give an example of a Windows program that would do such a conversion? I tried 7-Zip to uncompress a tar file, but it does not convert the file names and so creates corrupted file names, just like psftp.exe. –  lacton Sep 19 '10 at 17:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.