/SublimeZilla

A Sublime Text 2 & 3 plugin that imports server entries from FileZilla to Sublime Text as a sftp-config.json file for use with the excellent Sublime SFTP plugin

Primary LanguagePython

SublimeZilla

A Sublime Text 2 and 3 plugin that imports server entries from FileZilla to Sublime Text as a sftp-config.json file for use with the excellent Sublime SFTP plugin.

Installation

Using Package Control (preferred way):

Run Package Control: Install Package command, find and install SublimeZilla plugin.

Manual / Old School:

Clone or download git repository into your Packages folder.

Usage

  1. You can run the plugin by using the Command Palette (Ctrl+Alt+Z, Windows/Linux | Cmd+Alt+Z, OS X) type SublimeZilla or fz and hit enter, or by going to Tools -> SublimeZilla.

  2. On the first run, you'll be asked to browse to your FileZilla XML file (sitemanager.xml) via the input panel (at the bottom of the screen) which is located by default as follows:

    • Windows – C:\Users\[USER_NAME]\AppData\Roaming\FileZilla\sitemanager.xml
    • OS X – /Users/[USER_NAME]/.filezilla/sitemanager.xml
    • Linux – /home/[USER_NAME]/.filezilla/sitemanager.xml
  3. A quick search will pop up with a list of all the servers contained in the FileZilla database. Select the one you want.

  4. A new file will be opened called sftp-config.json. Save this file in the root of your project.

  5. You can now interact with this server via the SFTP plugin.

Alternate locations

Only 2 locations are supported at the moment. To save the first one follow steps 1 and 2 above.

A new file will have been created in /Packages/User/SublimeZilla.sublime-settings and it will contain a path to the default FileZilla DB:

"filezilla_db_path": "C:\Users\[USER_NAME]\AppData\Roaming\FileZilla\sitemanager.xml"

To add another path you can add a "filezilla_db_path2" setting with the secondary path as it's value.

Help

The plugin has been tested with Sublime Text 2 and 3, using FileZilla 3.7.4.1, on Windows 7, OS X 10.9.1 and Ubuntu Linux 13.10.

Please report bugs here so we can try and fix it.

Thanks for trying it out!