Sublime Forum

Sublime SFTP and FTP Plugin (w/ Remote Browsing)

#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

#43

I am unable to replicate this issue. If you can reproduce it, please generate a debug log following the instructions on support@wbond.net.

0 Likes

#44

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.

0 Likes

#45

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.

0 Likes

#46

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.

0 Likes

#47

[quote=ā€œfmeetzeā€]

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.[/quote]

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 support@wbond.net.

Unfortunately, detecting disconnections has been more complicated than I would have guessed. :smile: 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.

0 Likes

#48

[quote=ā€œhibbeligā€]

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.[/quote]

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. :smile:

0 Likes

#49

[quote=ā€œwbondā€]

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. :smile:[/quote]

ā€œ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.

0 Likes

#50

[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.

Thanks again for all your work.[/quote]

I believe this should be fixed in version 1.7.0.

[quote=ā€œnatebeacā€]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.[/quote]

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

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

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.

This is fixed in version 1.7.0.

[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]

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.

[quote=ā€œfmeetzeā€]

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.[/quote]

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.

0 Likes

#51

Awesome. Thanks for the update.

One bug is I canā€™t paste a password into the new password dialogue on windows. I have to type it in manually.

0 Likes

#52

[quote=ā€œfirefusionā€]Awesome. Thanks for the update.

One bug is I canā€™t paste a password into the new password dialogue on windows. I have to type it in manually.[/quote]

I just released v1.7.1 to fix this.

0 Likes

#53

That worked, thanks!

Amazing update this is.

0 Likes

#54

Awesome, thanks!

0 Likes

#55

[quote=ā€œwbondā€]

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 support@wbond.net.

Unfortunately, detecting disconnections has been more complicated than I would have guessed. :smile: 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.[/quote]

The new update did the trick. SFTP is now reestablishing my connection. Thanks!

0 Likes

#56

Iā€™m having a small issue: when i try to create a ftp connection, i get a freezed editor. I have to close it, and when iā€™m open it again, sftp.json is there, everything work smooth after that.

i noticed that on windows and osx, but with the same config files.

Probably is a conflict with another package, dunno, i didnā€™t tried too much things (to be honest, i dont create that many ftp connection, so is not a biggie), but i feel like is good to let you know.

0 Likes

#57

I have a problem with your plugin related to a memory leak. Iā€™ve opened a sftp connection in one window and synchronized a server folder locally (700 Mb). At some point Iā€™ve closed the download and opened a ftp connection. After a few minutes sublime was using aprox 2.4 Gb of memory.

0 Likes

#58

[quote=ā€œiamntzā€]Iā€™m having a small issue: when i try to create a ftp connection, i get a freezed editor. I have to close it, and when iā€™m open it again, sftp.json is there, everything work smooth after that.

i noticed that on windows and osx, but with the same config files.

Probably is a conflict with another package, dunno, i didnā€™t tried too much things (to be honest, i dont create that many ftp connection, so is not a biggie), but i feel like is good to let you know.[/quote]

When you say ā€œcreate a connectionā€, are you referring to creating a new remote, creating a new server, or connecting to one of those? Any more details you can provide can potentially help me track this down.

The only time Iā€™ve ever seen this is if the activity indicator kept printing dots forever in the output panel due to an uncaught exception. If you can replicate this, please send me a debug log (wbond.net/sublime_packages/sftp/support) and a copy of the output panel contents. With that info I can fix it.

0 Likes

#59

Map to remote.

But after that is working flawless. Thatā€™s why iā€™m telling this is a low priority (for me) :smiley:

0 Likes

#60

I just purchased your plugin. I must say that it made my working routine so much easier. I have to say though that $16 is pretty overpriced BUT considering that I am a happy user of your other plugin it a worthwhile support of a great developerā€¦ :smile:

Here is a problem I have: My session usually closes after some time, which is obvious. But when I try to send a file after that, SFTP tries to connected for a pretty long time with an endless number of dots and finally fails with a ā€œInvalid login credentialsā€ (no password prompt). When I then try to send a second time, I get the password prompt very quickly and the connection is reestablishedā€¦

Thanks!

0 Likes