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

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