Skip to content

PRO Deployer - Simple and powerful SFTP/FTP deployer. Support concurrency uploading or delete files (very fast uploading and deleting files or folders).

License

Notifications You must be signed in to change notification settings

heminei/vscode-pro-deployer

Repository files navigation

pro-deployer

PRO Deployer - Simple and powerful SFTP/FTP deployer. Support concurrency uploading or delete files (very fast uploading and deleting files or folders).

Features

  • multiple targets
  • switchable profiles
  • upload on save
  • auto-delete files or folders
  • concurrency upload and delete files
  • ignore list
  • add Upload and Upload to buttons to a context menu
  • support SSH keys
  • support auto upload and remove files changed on disk, e.g triggered by another application
  • support binary and ascii data transfer types
  • support status bar item
  • support quick pick dialog
  • download files or folders from targets
  • diff tool: compare local file with remote file

Donation

If you like this extension, you could become a backer or sponsor via PayPal. Any amount is welcome. It will encourage me to make this extension better and better!

Usage

  1. Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on Mac open command palette, run PRO Deployer: Generate Config File.
  2. Enjoy.

Example Configs

Config file location: .vscode/pro-deployer.json

{
    "enableStatusBarItem": true, //enable extension status bar item
    "enableQuickPick": true, //enable quick pick when upload/error occurs
    "uploadOnSave": true, //on file change will be uploaded to active targets
    "autoDelete": true, //on file delete will be deleted to active targets
    "checkGitignore": false, //skip files that are ignored in .gitignore
    "activeTargets": [
        "My SFTP"
    ],
    "concurrency": 5, //maximum number of concurrent actions (upload/delete)
    "ignore": [
        ".git/**/*",
        ".vscode/**/*"
    ],
    "include" [], // This option allows you to specify which files/folders to include in the auto upload/delete. If this option is not specified, all files/folders will be included.
    "targets": [
        {
            "name": "My SFTP",
            "type": "sftp",
            "host": "localhost",
            "port": 22,
            "user": "admin",
            "password": "123456",
            "dir": "/public_html",
            "baseDir": "/", //This option is useful when you want to upload files from a subdirectory of the project
            "privateKey": null,
            "passphrase": null
        },
        {
            "name": "My FTP",
            "type": "ftp",
            "host": "localhost",
            "port": 21,
            "user": "admin",
            "password": "123456",
            "dir": "/public_html",
            "baseDir": "/", //This option is useful when you want to upload files from a subdirectory of the project
            "transferDataType": "binary"
        }
    ]
}

Extension Commands

This extension contributes the following commands:

  • pro-deployer.generate-config-file: auto generate config file
  • pro-deployer.upload: upload file or folder
  • pro-deployer.upload-to: upload file or folder to selected target
  • pro-deployer.download: download file or folder
  • pro-deployer.download-from: download file or folder from selected target
  • pro-deployer.diff-with: compare local file with remote file
  • pro-deployer.upload-all-open: upload all open files
  • pro-deployer.show-output-channel: show output channel of PRO Deployer
  • pro-deployer.cancel-all-actions: stop all actions (uploads, downloads, deletes) and remove all actions from queue

About

PRO Deployer - Simple and powerful SFTP/FTP deployer. Support concurrency uploading or delete files (very fast uploading and deleting files or folders).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published