Sublime Forum

Working with a remote server

#1

Hi,

I’m new to Sublime and I’m really impressed so far. One thing stopping me from switching over completely is the lack of FTP support. When developing a site I’m typically working on a remote development server, this allows for ease of deployment and saves time as I don’t need to wait around for websites to upload when I’m done.

In other editors like Notepad++ I’m able to work directly off the sever, only ever downloading the files that I’m working on and uploading them again on save. From what I can see this functionality can’t be replicated in Sublime (feel free to correct me if I’m wrong). I’m just wondering if anyone else is in the same situation and how you get around it - without having to manually download and upload files all the time.

Thanks

0 Likes

#2

I have not tried, but there is a plugin for that from the creator of Package Control.

wbond.net/sublime_packages/sftp

0 Likes

#3

The Sftp plugin does not allow you to browse through remote files via the sidebar like in Notepad++, PsPad or other editors. You could download a whole folder and browse / sync through that. However working with a CMS like TYPO3 containing 10.000+ files you dont want to download / sync all of it.

In my opinion it is a very important missing feauture, not having descent FTP remote support for this kind of quality editor. Until this is implemented we will not buy any licenses for Sublime (OSX / Windows).

0 Likes

#4

On linux/osx

I use this each and every day for several months w/o any problems whatsoever. As long as you’re working only over sshfs and not sideloading any files or creating them directly on remote location you’ll not see a difference between sshfs mounted files and local ones (with -oworkaround=rename even remote git repos work as expected). Well, the search/replace in whole folder trees is slower and if you create new file remotely you will have to force listing refresh, but that’s the price you pay for working over network.

On windows I tried this:
http://dokan-dev.net/en/

when it worked, the expierience was similiar, but overall it was less stable than sshfs and I pretty quickly gravitated towards linux VM even on my windows boxes.

EDIT:
Whit FUSE in place there are countless projects which will let you mount exotic remote and not so remote locations (see avf.sourceforge.net/) basically anything holding files is a go: FTP, WebDav, bz2 archives… whatever your heart desires :smile:

0 Likes

#5

I guess you can use OSXFuse or Brew Fuse4X on OSX for this, but I still feel this is not ideal.

0 Likes

#6

Working over network is not ideal, but I’m really curious why would you consider a text editor level remote access superior to OS (FUSE) level remote access?

0 Likes

#7

[quote=“wuub”]

Working over network is not ideal, but I’m really curious why would you consider a text editor level remote access superior to OS (FUSE) level remote access?[/quote]

Cuz I dont wanna make tens of mounts when I am working on multiple servers.

0 Likes

#8

If I was the author I would not implement this feature.

I can see how it might be convenient to have but it really doesn’t belong in an editor – the OS can do this simpler and more reliably.

0 Likes

#9

I agree its definitely not ideal. I currently use ST2 on OSX. I use an app called Transmit to mount the remote server as a network drive. It’s better then nothing. I wish ST2 would support allowing me to open my files from Transmit but display the proper remote file path.

0 Likes

#10

Ok I made a drive letter in Windows 7 connect to FTP.

Working with some files, Sublime 2 emptied all those files after some minutes.

Great now I have to get a backup.

Really nice editor but NOT for working on anything other than stuff on ur harddisk.

viewtopic.php?f=3&t=9867&p=39168&hilit=empty#p39168

No more Sublime for me. Bye.

0 Likes

#11

Most likely FTP (and other) plugins will improve vastly when Jon provides sidebar API hooks. At the moment, SFTP has two workflows, one which uses a remote->local dir branch sync allowing sidebar browsing by adding the local folder Sublime’s “add folder” hook, and the other which allows direct file editing, navigating files and folders using Sublime’s pop-up panels - a less-than ideal interface for such activities.

For users who like working in the mirrored local branch approach, that’s fine, but for direct FTP workflow it’s clunky for users who come from other editors. I expect that upcoming releases of Sublime will provide sidebar access in the API, and I’m guessing that at around the same time a new release of SFTP will appear to unify the interface of these two workflows. Just a guess tho :wink:

S

ps. go easy on me. I’m new here :smile:

0 Likes

#12

I just setup a SAMBA server:

And it works perfect. I can access all my files just like a regular folder on the local machine via Sublime. Cheers!

0 Likes