Home Download Buy Blog Forum Support

Sublime SFTP and FTP Plugin (w/ Remote Browsing)

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

Postby georgemastro on Tue Feb 28, 2012 2:06 pm

Does this plugin have the functionality that informs me if the file has been changed since my last upload? This is the only thing I need to work out in order to move from Dreamweaver to Sublime.
georgemastro
 
Posts: 2
Joined: Tue Feb 28, 2012 2:02 pm

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

Postby wbond on Tue Feb 28, 2012 2:43 pm

georgemastro wrote:Does this plugin have the functionality that informs me if the file has been changed since my last upload? This is the only thing I need to work out in order to move from Dreamweaver to Sublime.


You will want to use the confirm_overwrite_newer setting in your sftp-config.json file. http://wbond.net/sublime_packages/sftp/ ... rite_newer
wbond
 
Posts: 523
Joined: Mon Feb 28, 2011 5:33 am

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

Postby georgemastro on Tue Feb 28, 2012 3:12 pm

wbond wrote:You will want to use the confirm_overwrite_newer setting in your sftp-config.json file. http://wbond.net/sublime_packages/sftp/ ... rite_newer


I have done this but it doesn't cover all situations. I work on a project with 2 other people. All machines have the same synchronized clock times in windows and it works only for the first or second minute. If I save after 5-10 minutes and upload it overwrites my colleague's file without telling me that it has been changed since my last upload.

In Dreamweaver this works perfectly!

I have "confirm_overwrite_newer": true
and also tried "preserve_modification_times" with all possible values but it doesn't seem to be working like DW!
georgemastro
 
Posts: 2
Joined: Tue Feb 28, 2012 2:02 pm

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

Postby wbond on Tue Feb 28, 2012 7:17 pm

georgemastro wrote:
wbond wrote:You will want to use the confirm_overwrite_newer setting in your sftp-config.json file. http://wbond.net/sublime_packages/sftp/ ... rite_newer


I have done this but it doesn't cover all situations. I work on a project with 2 other people. All machines have the same synchronized clock times in windows and it works only for the first or second minute. If I save after 5-10 minutes and upload it overwrites my colleague's file without telling me that it has been changed since my last upload.

In Dreamweaver this works perfectly!

I have "confirm_overwrite_newer": true
and also tried "preserve_modification_times" with all possible values but it doesn't seem to be working like DW!


If you turn on debug logging (http://wbond.net/sublime_packages/sftp/support) and set it to level 2, the console will contain info about what is going on.

It is only possible to detect the file modification time down to the minute - seconds are reported in the file listing. It may be possible that if you are writing the file in the same minute that the plugin may not be considering the server "newer" in that situation. You should be able to confirm this with the debug log, but I will also do some tests on my end.
wbond
 
Posts: 523
Joined: Mon Feb 28, 2011 5:33 am

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

Postby katnegermis on Wed Mar 07, 2012 3:17 pm

I believe in giving credit where credit is due; this is an amazing tool for Sublime Text 2. I probably wouldn't - couldn't, even - use Sublime without it. Great job! I'll definately throw a few dollars your way, if that helps you keeping up the good work!
katnegermis
 
Posts: 3
Joined: Thu Mar 01, 2012 12:32 pm

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

Postby robert.kent87 on Wed Mar 07, 2012 4:13 pm

I'm confused. Does this allow me to browse through a remote directory on the sidebar like a local directory? Browse Server just seems to list the folders and let me navigate but only in a popup each time
robert.kent87
 
Posts: 6
Joined: Fri Oct 28, 2011 3:17 pm

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

Postby wbond on Wed Mar 07, 2012 7:55 pm

robert.kent87 wrote:I'm confused. Does this allow me to browse through a remote directory on the sidebar like a local directory? Browse Server just seems to list the folders and let me navigate but only in a popup each time


Unfortunately Sublime does not currently have an API to manipulate the sidebar, so server browsing happens through the quick panel. If you want to try and treat a remote project as a local project you should try out http://www.expandrive.com/ or if you are on a Mac, Transit also has a mount option.

Alternatively you can download the whole project and use the Sync Remote -> Local functionality to look for changes. This can take some time depending on the side of the remote folder structure and how fast your connection is.
wbond
 
Posts: 523
Joined: Mon Feb 28, 2011 5:33 am

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

Postby robert.kent87 on Thu Mar 08, 2012 9:57 am

Hmm, that's a shame. The way I currently work is on a remote server where the directory is very large to download and changes regularly, so it's been easier to browse and edit files directly. I guess I can try to get used to the quick bar or try one of those mounting options. Do you know if a sidebar API is coming in a future release?

edit: Expandrive works great!
robert.kent87
 
Posts: 6
Joined: Fri Oct 28, 2011 3:17 pm

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

Postby OutThisLife on Sat Mar 10, 2012 12:06 am

It keeps crashing when uploading even more than 10 files on linux/Ubuntu.
OutThisLife
 
Posts: 6
Joined: Wed Feb 29, 2012 10:57 pm

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

Postby wbond on Sat Mar 10, 2012 2:51 am

OutThisLife wrote:It keeps crashing when uploading even more than 10 files on linux/Ubuntu.


Please turn on debug logging to level 2 (http://wbond.net/sublime_packages/sftp/support) and send me the debug log along with details about what version of Ubuntu you are using, what architecture and what version of Sublime. All of this should be sent to support@wbond.net.
wbond
 
Posts: 523
Joined: Mon Feb 28, 2011 5:33 am

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 4 guests