Skip to content

Visual Studio Code extension that makes it easy to compare and upload files to a remote LSAF server.

License

Notifications You must be signed in to change notification settings

jbodart-argenx/vscode-lsaf-restapi-upload

 
 

Repository files navigation

LSAF Rest API support for Visual Studio Code

The LSAF Rest API extension makes it easy to compare and upload files to a remote LSAF server, and is more secure and more powerful than the LSAF webdav interface.

Commands added by this extension:

  • LSAF Rest API: Compare ( extension.restApiCompare )
  • LSAF Rest API: Upload ( extension.restApiUpload )

Configuration

To configure one or more remote endpoints, add a webdav.json to your project root (backard-compatible with extension webdav-upload). In this file you can define the endpoints based on one or more folders.

webdav.json Structure

Key Value
The path, relative to webdav.json, that corresponds to the root of the WebDAV endpoint
  • url (String): The URL of the WebDAV endpoint
  • ignoreSSLErrors (Boolean, optional): Ignore SSL verification errors. This option is mainly intended for DEV endpoints that have a self-signed SSL certificate.

webdav.json Example

Assuming the current VScode workspace has subfolders each with corresponding distinct webdav locations

  • /frontend/www
  • /another-frontend/www
{
    "/frontend/www": {
        "url": "https://webdav.example.com/"
    },
    "/another-frontend/www": {
        "url": "https://webdav2.example.com/",
        "ignoreSSLErrors": true
    }
}

Assuming the current VScode workspace root folder has multiple corresponding webdav locations:

[
    {
        "label": "example-test/work",
        "/": {
                "url": "https://example-test.com/webdav/work/programs/"
            }
    },
    {
        "label": "example-prod/work",
        "/": {
                "url": "https://example-prod.com/webdav/work/programs/"
            }
    },
    {
        "label": "example-other/work",
        "/": {
                "url": "https://example-other.com/webdav/work/programs/"
            }
    }
]   

Password storage

The first time you connect to a new remote endpoint this extension will ask for a username and password. These credentials will be stored in VScode built-in Secret Storage.

About

Visual Studio Code extension that makes it easy to compare and upload files to a remote LSAF server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.6%
  • Other 0.4%