いつもSublime Text 3のSFTPというパッケージを使ってサーバにアップロードを行っています。
今回、新しく契約した「wpx」というレンサバにを使う事になり
SFTPにてFTPSの設定を行いましたところ、なぜかエラーが表示されアップロードができない状態が続いています。
sftp-config.jsonは下記で設定しています。
json
1{ 2 3 // The tab key will cycle through the settings when first created 4 // Visit http://wbond.net/sublime_packages/sftp/settings for help 5 6 7 // SFTP, FTP or FTPS ============================================ 8 "type": "ftps", 9 10 11 // Config ======================================================= 12 "save_before_upload": false, 13 "upload_on_save": false, 14 "sync_down_on_open": false, 15 "sync_skip_deletes": false, 16 "confirm_downloads": false, 17 "confirm_sync": false, 18 "confirm_overwrite_newer": false, 19 20 21 // Server Setting =============================================== 22 "remote_path": "/", 23 "host": "sample.wp-x.jp", 24 "user": "user", 25 "password": "password", 26 "ftp_passive_mode": true, 27 "port": "21", 28 29 30 // Not Covered Files and Folders ================================ 31 "ignore_regexes": [ 32 33 34 // Sublime Text Flies =========================================== 35 "\.sublime-(project|workspace)", 36 "sftp-config(-alt\d?)?\.json", 37 "sftp-settings\.json", 38 39 ], 40 41 42 // File Permissions ============================================ 43 //"file_permissions": "664", 44 //"dir_permissions": "705", 45 46 47 // Others Setting ============================================== 48 //"extra_list_connections": 0, 49 "connect_timeout": 30, 50 //"keepalive": 120, 51 //"preserve_modification_times": false, 52 //"remote_time_offset_in_hours": 0, 53 "remote_encoding": "utf-8", 54 //"remote_locale": "C", 55 56}
Sublime Text(=SFTP)エラーの表示は
text
1Sublime SFTP 2 3An encoding error was encountered trying to read from the server. Please adjust the "remote_encoding" setting in sftp-config.json. 4 5Common encodings include: 6 7"utf-8": Default and most common encoding 8 9"cp1252" or "iso-8859-15": Danish, Dutch, English, French, German, Icelandic, Italian, Norwegian, Spanish, Swedish and Portuguese 10 11"cp1250": Albanian, Bosnian, Croatian, Czech, Hungarian, Polish, Romanian, Serbian (Latin Script), Slovak and Slovene 12 13"cp1251": Bulgarian, Russian and Serbian (Cyrillic) 14"cp1253": Modern Greek 15"cp1254": Turkish 16"cp1255": Hebrew 17"cp1256": Arabic, Persian and Urdu 18"cp1257": Estonian, Latvian and Lithuanian 19"cp1258": Vietnamese
と表示されます。
wpxのサポートにも聞きましたが、設定が間違っていないか確認してください、との事でしたが
同じ内容(ホスト名・ユーザ・パスワード・ポート)でMacのTransmitで設定したところ、問題なくアップロードができました。
文字コードが違う、といわれているのはわかるのですが解決策がわかりませんでした。
どなたかご教示いただければ幸いです。
宜しくお願い致します。

回答4件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/09/22 08:07
2015/09/22 09:00
2015/09/23 23:52