I'm working on a WinSCP integration (useful to me mostly because of the winscp stored sessions)
I'll welcome any help, for development or testing.
I adapted sublimator's QuickBrowseDir plugin; the lazy loading of files is an obvious advantage to FTP browsing.
EDIT: You'll need AAALoadFirstExtensions for this to work. If it's not really needed, I'll remove the dependency later.
BitBucket homepage: http://bitbucket.org/gpfsmurf/winscp/wiki/Home
How to use:
The plugin assumes WinSCP is installed in c:\program files\winscp3, if not, change the paths at the beginning of the file.
By default, F12 is used to pop up the session list.
So press F12, it shows a list of winscp's stored sessions. Select one, it'll connect (that'll take a few seconds) and then you can browse the server.
Choosing a folder will browse to that folder.
Choosing a file will download and open it in Sublime.
You can press F12 again to choose another file.
Whenever you save a file, it's uploaded back to the server automatically.
Choosing ":close session:" or closing Sublime will close the current FTP connection. Pressing F12 after that will let you connect to a new server.
Be careful, I only did limited testing.
In case the user never chooses ":close session:", I'd like to close the session and do some cleanup in the event that sublime is closed. What's the best way to do that?
EDIT: changed How to use section