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

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