Home Download Buy Blog Forum Support

Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby BomBin on Sat Dec 24, 2011 8:32 pm

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!
BomBin
 
Posts: 18
Joined: Sat Dec 24, 2011 8:12 am

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby BomBin on Sun Dec 25, 2011 7:11 pm

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.
BomBin
 
Posts: 18
Joined: Sat Dec 24, 2011 8:12 am

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby wbond on Mon Dec 26, 2011 4:34 am

C0D312 wrote: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.


I am unable to replicate this issue. If you can reproduce it, please generate a debug log following the instructions on http://wbond.net/sublime_packages/sftp/support and send it to me a support@wbond.net.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby wbond on Mon Dec 26, 2011 4:36 am

BomBin wrote: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.


Please check the console (ctrl+`) and see if any errors are listed there. If you email me at support@wbond.net, I can be sure to help you. Unfortunately the forum here isn't the best place for support since there aren't any notifications of replies.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby fmeetze on Sun Jan 01, 2012 7:59 am

wbond wrote:C0D312 wrote: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.


I'm having the same issue. This is pretty common in any ftp access where there isn't a keep-alive setting on the server or ftp client. It would be nice if Sublime SFTP would just auto-reconnect when a connection timeout occurred.
fmeetze
 
Posts: 3
Joined: Sun Jan 01, 2012 7:55 am

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby hibbelig on Sun Jan 01, 2012 10:25 am

wbond wrote: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.


It would be nice if plugins could add additional information to the side bar, such as file modes, file size, file mtime. It would be nice if the side bar could be used for version control, such as showing the version when a file was last modified, whether the file is modified w.r.t. the repository (as per "hg status", for example), or the list of patches as in "hg qseries -v". Or maybe even a history browser that displays the output of "hg log" (or equivalent) and would allow me to navigate to each change set to inspect it more closely (the detail would be shown on the right).

It would be nice if the side bar could show an outline of the current document, such as the list of things shown by Command+R. This could be classes and methods for programming languages and sections and subsections for, say, LaTeX documents.

Does this make it "of limited use"?

Happy New Year.
hibbelig
 
Posts: 77
Joined: Wed Dec 21, 2011 11:24 pm

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby wbond on Mon Jan 02, 2012 4:45 am

fmeetze wrote:
wbond wrote:C0D312 wrote: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.


I'm having the same issue. This is pretty common in any ftp access where there isn't a keep-alive setting on the server or ftp client. It would be nice if Sublime SFTP would just auto-reconnect when a connection timeout occurred.


Sublime SFTP does automatically reconnect when a disconnection occurs – it just appears you've run into some situation that no-one else has run into and sent me info about. Please visit http://wbond.net/sublime_packages/sftp/support and create a debug log. Also be sure to check the console (ctrl+`) for any errors. Please send the info to support@wbond.net.

Unfortunately, detecting disconnections has been more complicated than I would have guessed. :) So far I've tracked down at least 10 different ways python will fail with an FTP disconnection using ftplib and a whole host of separate issues with the OpenSSH sftp program and psftp. The changelog includes a rather lengthy list of the number of releases I've made that include fixes for various disconnection error modes.

With any luck I will have version 1.7.0 out later tonight or tomorrow which will include some features to help in capturing info about previously unreported errors.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby wbond on Mon Jan 02, 2012 4:48 am

hibbelig wrote:
wbond wrote: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.


It would be nice if plugins could add additional information to the side bar, such as file modes, file size, file mtime. It would be nice if the side bar could be used for version control, such as showing the version when a file was last modified, whether the file is modified w.r.t. the repository (as per "hg status", for example), or the list of patches as in "hg qseries -v". Or maybe even a history browser that displays the output of "hg log" (or equivalent) and would allow me to navigate to each change set to inspect it more closely (the detail would be shown on the right).

It would be nice if the side bar could show an outline of the current document, such as the list of things shown by Command+R. This could be classes and methods for programming languages and sections and subsections for, say, LaTeX documents.

Does this make it "of limited use"?

Happy New Year.


I was just referring to create "fake" file entries for remote files and folders, that is all! I know there are a whole host of ways plugins could change and augment the side bar. :)
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby hibbelig on Mon Jan 02, 2012 10:33 am

wbond wrote:
hibbelig wrote:
wbond wrote: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.


It would be nice if plugins could add additional information to the side bar, such as file modes, file size, file mtime. It would be nice if the side bar could be used for version control, such as showing the version when a file was last modified, whether the file is modified w.r.t. the repository (as per "hg status", for example), or the list of patches as in "hg qseries -v". Or maybe even a history browser that displays the output of "hg log" (or equivalent) and would allow me to navigate to each change set to inspect it more closely (the detail would be shown on the right).

It would be nice if the side bar could show an outline of the current document, such as the list of things shown by Command+R. This could be classes and methods for programming languages and sections and subsections for, say, LaTeX documents.

Does this make it "of limited use"?

Happy New Year.


I was just referring to create "fake" file entries for remote files and folders, that is all! I know there are a whole host of ways plugins could change and augment the side bar. :)


"Just"? I haven't looked at how your sftp plugin does things, but I would expect that Jon would need to provide an API to add arbitrary entries to the side bar, and to have arbitrary code run when they are accessed. And that would be the general functionality one could use to implement all the other things I mentioned.

I can't really imagine how Jon could provide an API that would be less general.
hibbelig
 
Posts: 77
Joined: Wed Dec 21, 2011 11:24 pm

Re: Sublime SFTP and FTP Plugin (w/ Remote Browsing)

Postby wbond on Sun Jan 08, 2012 6:56 am

C0D312 wrote: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.


I believe this should be fixed in version 1.7.0.

natebeac wrote: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.


Version 1.7.0 has a new setting, sync_down_on_open which should accomplish what you are looking for.

tito wrote:Is there any chance to get the menuitems under "sidebar" and "context menu" organized under a "FTP" submenu?
Thanks


I've completely restructured the menus for version 1.7.0, so everything is now under an SFTP/FTP sub-menu in the side bar context menu, editor context menu and file menu.


C0D312 wrote: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.


This is fixed in version 1.7.0.


JeromeM wrote: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


This is fixed in version 1.7.0. In addition, the new version uses a masked input inside of Sublime to accept passwords and passphrases.

BomBin wrote: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.


fmeetze wrote:
wbond wrote:C0D312 wrote: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.


I'm having the same issue. This is pretty common in any ftp access where there isn't a keep-alive setting on the server or ftp client. It would be nice if Sublime SFTP would just auto-reconnect when a connection timeout occurred.


Version 1.7.0 includes functionality to capture uncaught exceptions, log them to a file, and prompt the user to send them to my support address. Hopefully this will make it easier for me to track down bugs I am unable to reproduce.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 10 guests