プログラミング初心者です。
AtomでFTP接続しようとしています。
.ftpconfigを編集し、connectを押したところで以下のエラーメッセージが出ました。
■エラー
unexpected token U in JSON at position 241
privatekeyの一行だけ赤くハイライトされている
■試したこと
syntax errorは以下で解消できるという記事を見たので試しに以下やりましたが駄目でした
C:\Users\~~を
・C:/Users/~~(\を/に変更)
・C:\Users\~~(\を二個にする)
プライベートキーのパスが純粋に間違えていないか、ほかの入力データにミスがないかも確認したので大丈夫だと思います。
そもそもエラーの意味も理解できないのですが、何が問題なのでしょうか?
お力添えいただけますと幸いです。
もし他に情報記載必要でしたら追記いたします。
--追記--
{ "protocol": "sftp", "host": "xxx.xx.xxx.xx", "port": 22, "user": "xxxx", "pass": "", "promptForPass": false, "remote": "/home/xxx/xx", "local": "", "agent": "", "privatekey": "C:\Users\xxx\xxx\xxx", "passphrase": "", "hosthash": "", "ignorehost": true, "connTimeout": 10000, "keepalive": 10000, "keyboardInteractive": false, "keyboardInteractiveForPass": false, "remoteCommand": "", "remoteShell": "", "watch": [], "watchTimeout": 500 }
error message:
Could not parse .fpconfig
Unexpected token U in JSON at position 241
回答1件
あなたの回答
tips
プレビュー