jonpfote / webdav-folders

Connect to a WebDAV server using a `.code-workspace` file to use a virtual filesystem.
https://marketplace.visualstudio.com/items?itemName=jonpfote.webdav-folders
Other
1 stars 1 forks source link

Is it possible to have different webdav sources in the same workspace? #1

Open luckydem opened 1 year ago

luckydem commented 1 year ago

I was hoping to use the same workspace for multiple resources like:

{
    "folders": [
        {
            "uri": "webdav://localhost/exist/webdav/db"
        },
        {
            "uri": "webdav://remote-ip/exist/webdav/db"
        }
    ],
    "settings": {
        "jonpfote.webdav-folders": {

            "localhost": {
                "host": "localhost:{custom-port}",
                "authtype": "basic",
                "username": "username",
                "password": "password",
                "ssl": false
            },
            "remote-server": {
                "host": "remote-ip:{custom-port}",
                "authtype": "basic",
                "username": "username",
                "password": "password",
                "ssl": true
            }
        }
    }
}
jonpfote commented 8 months ago

Sorry for my late response @luckydem

Please try the following instructions: (For me, it works if I do the following)

  1. Create a new empty this-is-my-workspace.code-workspace file
  2. Add your JSON content to the file and save it
  3. Use File > Open Workspace From File to open the workspace

If it does not work:

If you were able to resolve the issue, please reply so that I can close this issue