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