liximomo / vscode-remote-fs

Working with any file in everywhere with vscode.
MIT License
167 stars 18 forks source link

Cannot resolve workspace folder (cannot connect) #18

Closed Luggruff closed 6 years ago

Luggruff commented 6 years ago

My current user settings (settings.json) currently looks like this after installing the extension and trying my best to connect. After CTRL+SHIFT+P and adding the workspace by writing "Remote FS: Add Folder to Workspace" and then selecting "site ftp.mydomain.com:22 at /":

{
    "remotefs.remote": {
        "site": {
          "scheme": "ftp",
          "host": "ftp.mydomain.com",
          "port": 22,
          "username": "user@mydomain.com",
          "password": "mypassword",
          "rootPath": "/", 
          "connectTimeout": 10000
        }
      },
      "php.validate.executablePath": "C:\\xampp\\php\\php.exe",
}

What am I missing? The instructions are so unclear. Why can't people (programmers) start to assume that NEW USERS exist?

Luggruff commented 6 years ago

Seems I used the incorrect port and it's now working. However, as mentioned, the instructions should be more clear for new users as FTP is probably one of the first things a user will set up.