Home Download Buy Blog Forum Support

Encoding problem with SFTP and syncing folder.

Encoding problem with SFTP and syncing folder.

Postby bulgaria_mitko on Fri May 30, 2014 2:45 pm

Hi all im new!

im trying to sync a folder with SFTP, but im getting this error:

sublime sftp an encoding error was encountered trying to read from the server. please adjust the "remote_encoding" setting in sft-config.json


and i tried commenting line 42:
Code: Select all
"remote_encoding": "utf-8",


but i again i get the same error and im pretty sure it is the utf-8 case with me. what can i do in this situation? i tried almost everything i can think of and im getting out of ideas. i will be very thankful is someone can help me with this!
bulgaria_mitko
 
Posts: 1
Joined: Fri May 30, 2014 2:40 pm

Re: Encoding problem with SFTP and syncing folder.

Postby MoebiusLive on Tue Aug 05, 2014 12:56 pm

I have exact same problem (windows 8, 64-bit), trying to connect to normal FTP.
Same error with remote and server workflow.
MoebiusLive
 
Posts: 2
Joined: Tue Aug 05, 2014 12:04 am

Re: Encoding problem with SFTP and syncing folder.

Postby MoebiusLive on Sun Aug 10, 2014 9:56 am

bump

I'm sure there is someone who experienced similar issues, anyone?
screenshot:
http://imgur.com/YxLPTl6
MoebiusLive
 
Posts: 2
Joined: Tue Aug 05, 2014 12:04 am

Re: Encoding problem with SFTP and syncing folder.

Postby dlc4gl on Tue Sep 02, 2014 9:27 am

I had the same issue and figured out how to fix it. In my case, I had a file with a name in Vietnamese on one of the ftp folders.

Whenever I switched folder in sftp to that folder I received the encoding popup error. To fix the issue, I added "remote_encoding":"cp1258" to my sftp server settings file. "cp1258" is the encoding for Vietnamese.

You should try to use other ftp client software to see if you have files with names in other language and adjust your remote_encoding accordingly.

Code: Select all
{
  ..
  "connect_timeout": 30,
  //"ftp_passive_mode": true,
  //"ssh_key_file": "~/.ssh/id_rsa",
  //"sftp_flags": "-F /path/to/ssh_config",

  //"preserve_modification_times": false,
  //"remote_time_offset_in_hours": 0,

  "remote_encoding": "cp1258"
 
}
dlc4gl
 
Posts: 1
Joined: Tue Sep 02, 2014 9:12 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Orlmente, Yahoo [Bot] and 20 guests