A Sublime Text 2 plugin that imports server entries from FileZilla to Sublime Text as a sftp-config.json file for use with the excellent Sublime SFTP plugin
Clone or download git repo into your packages folder
Using Package Control:
Run Package Control: Install Package
command, find and install SublimeZilla
plugin.
-
You can run the plugin by using the Command Palette (
Ctrl+Alt+Z
) type SublimeZilla orfz
(yay fuzzy search! =D ) and hit enter. Or by going to Tools -> Sublime Zilla -
On the first run you'll be asked to browse to your FileZilla XML file via the input panel (at the bottom of the screen) which is located as follows:
- Windows 7 & Vista –
C:\Users\[USER_NAME]\AppData\Roaming\FileZilla\sitemanager.xml
- Mac OS X –
/users/[USER_NAME]/.filezilla/sitemanager.xml
- Linux –
/home/[USER_NAME]/.filezilla/sitemanager.xml
- Windows 7 & Vista –
-
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
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.
Unfortunatly I'm unable to test it on Linux or OSX. Please let me know if it is working!
Please report bugs here so I can try and fix it.
Thanks for trying it out!