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.
Using Package Control (preferred way):
Run Package Control: Install Package
command, find and install SublimeZilla
plugin.
Clone or download git repository into your Packages folder.
-
You can run the plugin by using the Command Palette (
Ctrl+Alt+Z
, Windows/Linux |Cmd+Alt+Z
, OS X) type SublimeZilla orfz
and hit enter, or by going to Tools -> SublimeZilla. -
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]/.config/filezilla/sitemanager.xml
- Linux –
/home/[USER_NAME]/.filezilla/sitemanager.xml
- Windows –
-
A quick search will pop up with a list of all the servers contained in the FileZilla database. Select the one you want.
-
A new file will be opened called
sftp-config.json
. Save this file in the root of your project. -
You can now interact with this server via the SFTP plugin.
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.
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.
If the plugin has trouble accessing FileZilla try changing the default location to your sitemanager.xml
file.
To do this, create a new file called SublimeZilla.sublime-settings
in /Packages/User/
.
Add the following to this new file:
- For Windows:
{"filezilla_db_path": "C:\Users\[USER_NAME]\AppData\Roaming\FileZilla\sitemanager.xml"}
- For OSX:
{"filezilla_db_path" : "/Users/[OSX_USER]/.config/filezilla/sitemanager.xml"}
Thanks for trying it out!