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 25K
  • Win 16K
  • OS X 6K
  • Linux 3K
Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3
Windows 38 30 26 15 14 20 28 24 26 27 13 12 25 27 21 22 10 7 6 21 10 21 19 17 11 13 16 19 30 27 30 9 17 21 33 22 32 33 19 16 22 30 25 32 27 21
OS X 3 7 4 10 4 6 9 8 11 7 5 4 8 9 8 7 4 2 6 7 8 6 5 7 1 1 7 4 8 13 6 3 2 4 10 7 5 10 5 3 8 7 7 11 6 5
Linux 3 8 6 1 1 8 3 5 6 1 2 5 2 4 2 3 0 1 0 2 4 3 3 3 6 3 1 2 1 3 2 4 3 3 4 0 4 2 4 4 1 3 1 2 3 1

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