Sublime Forum

Linux remote editing

#1

I am using FileZilla with Sublime as my default editor. When I double-click a file in FileZilla it opens in Sublime.

But when I save in Sublime (Ctrl+S) this triggers a FileZilla popup:

[quote]A file previously opened has been changed.
Upload this file back to the server? Yes/No
Finish editing and delete local file (checkbox)
[/quote]

I must click Yes in order for my edits to propagate to the server.

How do I eliminate this confirmation dialog in my publishing process?

Must I use a different FTP client? Should I teach myself to FTP via command line? Suggestions?

0 Likes

#2

There might be a problem of filezilla. I use flashfxp (windows) and works fine.

Probably you have to set up transfer mode (bin/ascii) or passive/active mode.

Also, I think there are some editors that auto convert line ending ( CR->CRLF ).

0 Likes

#3

I just mount the remote location as a directory using gvfs-fuse (Gnome virtual file system).
The remote directory gets mounted under ~/.gvfs/ and I can access it just like local files in any application, including ST2.
Ubuntu supports gvfs out of the box in the GUI (under Places/Connect to Server), would expect most other distros to do so as well. It can work with a number of backends, including FTP and SFTP.

http://en.wikipedia.org/wiki/GVFS

Just google your distribution and gvfs

Hope this helps

0 Likes