mkloubert / vscode-remote-workspace

Multi protocol support for handling remote files like local ones in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-remote-workspace
GNU Lesser General Public License v3.0
207 stars 37 forks source link

Cannot resolve workspace folder #38

Open ghost opened 6 years ago

ghost commented 6 years ago

Tried with &legacy=1, not work too. Data I use to login, works for example in Filezilla. So it's not problem with my config I guess.

Basically it shows "Cannot resolve workspace folder"

{
    "folders": [
        {
            "uri": "ftp://xyz:password@host/?debug=1",
            "name": "temp"
        }
    ],
    "settings": {}
}
mkloubert commented 6 years ago

@Kamil93

You can only use the parameters, as described here. Parameters of other protocols do not work (e.g. debug is not supported for ftp)!

Have you tried something like

{
    "folders": [
        {
            "uri": "ftps://xyz:password@host/?secure=0",
            "name": "temp"
        }
    ],
    "settings": {}
}

that (ftps instead of ftp)?

What do your logs say (<USER-HOME-DIR>/.vscode-remote-workspace/.logs)?

tomitrescak commented 6 years ago

Hi, same problem for me ;(

"folders": [
    {
      "uri": "sftp://tomas@url.com/home?debug=1&key=id_rsa",
      "name": "My SFTP folder"
    }
  ],

The logs are empty ... Any help is greatly appreciated. Thanks!

MarianBe commented 5 years ago

same issue here

K-Kit commented 5 years ago

Removing debug=1 fixed for me with SFTP thanks!