ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Simple FTP Deploy

by HexRx ST3

This package for Sublime Text 3 give you possibility to auto upload file to FTP server when you save local file.

Labels ftp

Details

Installs

  • Total 32K
  • Win 20K
  • OS X 8K
  • Linux 4K
Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9
Windows 3 19 10 19 22 12 22 11 11 12 16 18 16 19 7 9 17 22 19 17 15 7 8 22 17 18 14 23 6 13 14 20 19 15 16 9 13 16 16 10 15 18 10 8 15 13
OS X 3 2 11 2 1 5 8 1 6 7 5 13 5 5 3 4 7 10 5 3 11 5 2 3 2 1 4 3 3 0 3 3 5 2 1 1 0 3 5 5 5 3 1 2 5 6
Linux 2 1 1 2 2 4 3 4 3 1 2 1 0 2 4 2 0 1 3 5 1 1 0 2 4 3 6 4 2 2 3 2 1 3 3 0 0 5 2 2 4 5 6 0 0 0

Readme

Source
raw.​githubusercontent.​com

Simple FTP Deploy

This package for Sublime Text 3 give you possibility to auto upload file to FTP server when you save local file.

1. How to Install

Using Package Control

  1. In Sublime Text open menu Tools -> Command Palette...
  2. Enter Package Control: Install Package
  3. Find and install Simple FTP Deploy

Manual

  1. Download the .zip
  2. Open Packages directory, which you can find using the Sublime Text menu item Preferences -> Browse Packages... and unzip archive to this directory

2. How to Use

  1. Open folder which contain your local files in Sublime Text open menu File -> Open Folder... or Project -> Add Folder to Project
  2. Create new simple-ftp-deploy.json config file in root of an opened directory (its settings see to configuration section)
  3. Save it
  4. Now open file which you want to edit, it must be located in an opened directory or in the inside folders, if you save it, this file will be upload to FTP server which you entered in config file

3. Configuration

Example simple-ftp-deploy.json file:

{
    "host": "localhost",
    "username": "user",
    "password": "pass"
}

Format

The format is JSON, so every property consists of a key-value pair

{
    "host": "localhost",
    "port": 21, 
    "username": "user",
    "password": "pass",
    "rootDirectory": "/path/"
}

Properties

"host" string The hostname or IP address of your FTP server

"port" number The port of the FTP server. Optional property, default value: 21

"username" string The username

"password" string The password

rootDirectory string The FTP path to deploy. Optional property, default value: / Example: in the root of FTP you have three folders site1, site2, site3 and if you need to upload in site2 folder, you must set this property to /site2, because if you skip this property, files will be upload to the root of FTP

License

The MIT License