Sublime Forum

Sublime SFTP and FTP Plugin (w/ Remote Browsing)

#23

I just released version 1.6, which includes the much-requested remote server browsing and editing. Enjoy!

0 Likes

#24

Damnā€¦

Will, I think you have too much time on your hands :smile: . This is pretty incredible. Iā€™ll definitely buy it soon. (BTW, did you raise the price with this release?)

0 Likes

#25

Bloody awesome!

Thank you!!!

0 Likes

#26

[quote=ā€œC0D312ā€]Damnā€¦

Will, I think you have too much time on your hands :smile: . This is pretty incredible. Iā€™ll definitely buy it soon. (BTW, did you raise the price with this release?)[/quote]

I hope you find it useful!

In terms of the price, it actually went down a little with the release. I have done some experimentation with the price to make sure I can sustain the work on it, but at the same time make it affordable enough. The actual history is $8 -> $15 -> $19 -> $16. Iā€™ve found it takes quite a bit of development and support time to keep up with all of the emails and requests. :smile: I canā€™t imagine how much time Jon sinks into Sublime!

0 Likes

#27

Thank you for the remote browsing!

Is there any chance weā€™ll get remote folder tree preview?

0 Likes

#28

Wow! Awesome!
Thanks for the update :wink:

0 Likes

#29

Unfortunately there is no way through the Sublime API to add items to the side bar. I donā€™t load the full remote tree in the quick panel because the performance of such degrades very quickly when there are a number of folders and you have anything but the fastest connection.

Another request Iā€™ve heard before that has the same answer it about adding context (right-click) menu entries to the files in the ā€œFilesā€ section of the side bar. Unfortunately the answer for this is also the same ā€“ there is no way to affect that via the Sublime API.

0 Likes

#30

I seem to have discovered a small issue. When I use the ā€œlocal to remote sync,ā€ it opens a connection and works flawlessly. Then a few minutes later, I might make another edit. When I press ā€œlocal to remote sync,ā€ it connects, prompts me if I want to overwrite, I select yes, then it gives my a timeout error. If I restart st2, and the press local to remote sync, it works again flawlessly.

It seems that the plugin is not properly closing the connection because this issue occurs frequently. But besides that, itā€™s awesome.

Thanks again for all your work.

0 Likes

#31

[quote=ā€œC0D312ā€]I seem to have discovered a small issue. When I use the ā€œlocal to remote sync,ā€ it opens a connection and works flawlessly. Then a few minutes later, I might make another edit. When I press ā€œlocal to remote sync,ā€ it connects, prompts me if I want to overwrite, I select yes, then it gives my a timeout error. If I restart st2, and the press local to remote sync, it works again flawlessly.

It seems that the plugin is not properly closing the connection because this issue occurs frequently. But besides that, itā€™s awesome.[/quote]

Thanks for the bug report! Iā€™ll check it out and release a fix with the next version.

You are correct in that I never explicitly close the connection - this helps improve the performance of uploads, but it has been quite a bear trying to find all of the edge cases about how the various programs and libraries I use react when they are disconnected by the server.

0 Likes

#32

Thereā€™s really only one thing stopping me from purchasing this. I noticed there is ā€œUpload file on saveā€, how about a ā€œDownload file on open (if newer)ā€

Most editors plugins Iā€™ve tried that do FTP have somewhat of a ā€œsyncā€ when I open a file - that is, checking if the remote file has been modified after the local copy. If it has been modified after, then download the newest version on the spot. I do a lot of personal work off a cloud server (not production) and am forced to use FTP.

Therefore, if I checkout out another branch in the remote workspace via git, thereā€™s a good chance my local copy will become stale and will muck up my current workspace if I donā€™t explicitly download each file I open.

0 Likes

#33

Is there any chance to get the menuitems under ā€œsidebarā€ and ā€œcontext menuā€ organized under a ā€œFTPā€ submenu?
Thanks

0 Likes

#34

I found another odd bug. When I delete a folder off of my server, it deletes everything in the folder, then it deletes the actual folder, and then it tries to delete the folder again. Itā€™s not really a big deal, but then SFTP throws a message saying ERROR.

0 Likes

#35

Iā€™ll see if I can come up with a solution for this.

Sort of related, Iā€™m also working at a solution for handling auto file uploads when a file changes from third-party program such as CodeKit.

[quote=ā€œtitoā€]Is there any chance to get the menuitems under ā€œsidebarā€ and ā€œcontext menuā€ organized under a ā€œFTPā€ submenu?
Thanks[/quote]

So there is currently a bug in Sublime on Windows and OSX that does not hide the three sub-menus when no SFTP remote has been configured. It works fine on Linux and I have a bug report into Jon about it.

Iā€™ll play around with moving all of the menu items under a single entry, however I definitely donā€™t want to get into more than two levels of menus. Iā€™m concerned that having all 9 entries in a single menu will be too much, but like I said, Iā€™ll play around with it. :smile:

Thanks, Iā€™ll check it out.

When possible (for anyone, not just COD312), if you do find a bug, please let me know at support@wbond.net and include a debug log if you can. This helps to make sure I donā€™t forget to get back to you, and helps provide me with info about what is going on with your machine and remote server. You can get a debug log by going to Preferences > Package Settings > SFTP > Settings ā€“ Default, copying the debug and debug_log keys into the Settings ā€“ User file and setting debug to true.

0 Likes

#36

Hi,

I have a problem using SFTP with SSH Key file.
When asked for the Passphrase, the window close after 2/3sec, and i have the ā€œfailure (Connection timeout)ā€ error.

Iā€™ve tried changing the ā€œconnect-timeoutā€ setting, but it doesnā€™t change anything.

Iā€™m on Windows and everything else seems ok ā€¦

Thanks

0 Likes

#37

Any chance to have all the FTP content in the sidebar? Just like a project. Very annoying to go to ā€œbrowser FTPā€ each time I want to open a file. that way I could also click cmd+p and find what I want immediately.

If you do that, Iā€™ll definitely buy it.

Thanks.

0 Likes

#38

[quote=ā€œJeromeMā€]Hi,

I have a problem using SFTP with SSH Key file.
When asked for the Passphrase, the window close after 2/3sec, and i have the ā€œfailure (Connection timeout)ā€ error.

Iā€™ve tried changing the ā€œconnect-timeoutā€ setting, but it doesnā€™t change anything.

Iā€™m on Windows and everything else seems ok ā€¦

Thanks[/quote]

Iā€™m working on replicating this now. There should be a fix with 1.6.3.

[quote=ā€œBomBinā€]Any chance to have all the FTP content in the sidebar? Just like a project. Very annoying to go to ā€œbrowser FTPā€ each time I want to open a file. that way I could also click cmd+p and find what I want immediately.

If you do that, Iā€™ll definitely buy it.

Thanks.[/quote]

Unfortunately it is not currently possible to manipulate the sidebar via an API in Sublime. Iā€™ve had quite a number of requests for this, so I plan on asking Jon if that is something he would consider adding. The downside is that there arenā€™t many, if any, other plugins that would need to manipulate the sidebar in such a way, so it is of limited use.

In terms of browse via key command, you can press ctrl+alt+u+w (or cmd+ctrl+u+w on OS X) to browse remotely at the current file, which is the equivalent of ctrl+p.

0 Likes

#39

Okay thank you, but it isnā€™t very comfortable if I accidentaly click something else than what I want, or I go to Chrome to check something and the control panel disappearsā€¦

0 Likes

#40

In your case, Iā€™d probably look into buying Expandrive (expandrive.com/). I believe there is a 30-day free trial. It mounts a remote server as a local drive or folder, and then you can use the built-in sidebar to browse your code.

0 Likes

#41

expandrive is extremely slow. I get it up on Sublime Text 2 and it takes something like 2 minutes to load a folder. Is there anything faster?

Thanks!

0 Likes

#42

Also, after a while I donā€™t use the editor, I try to reconnect to the server and it says ā€œmultiple connections, giving upā€ and then I try again and it crashes.

0 Likes