liximomo / vscode-remote-fs

Working with any file in everywhere with vscode.
MIT License
166 stars 17 forks source link

Multiple Connection Example Please #89

Closed Treehugger61810 closed 3 years ago

Treehugger61810 commented 3 years ago

Hello, thank you for your time. I am having a hard time finding example code of setting up multiple connections correctly. Whenever I try adding a second, it is showing the info of my first connection when trying to connect and failing to connect although using my first connection works correctly. Would you be able to provide a sample of example code for multiple connections? Thank you!

Here is an example of my code:

{ "remotefs.remote": { "NameOne": { "scheme": "ftp", "host": "ipaddress1", "username": "user1", "password": "pass1", "rootPath": "/", "port": 21, "connectTimeout": 30000, }, "NameTwo": { "scheme": "ftp", "host": "ipaddress2", "username": "user2", "password": "pass2", "rootPath": "/", "port": 21, "connectTimeout": 30000, } }, "remotefs.rootLabel": "${name}", }