Home Download Buy Blog Forum Support

Linux remote editing

Linux remote editing

Postby ryanm on Tue May 31, 2011 4:48 pm

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:
A file previously opened has been changed.
Upload this file back to the server? Yes/No
Finish editing and delete local file (checkbox)

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?
Last edited by ryanm on Tue May 31, 2011 5:30 pm, edited 7 times in total.
ryanm
 
Posts: 1
Joined: Tue May 31, 2011 4:18 pm

Re: Linux remote best practices

Postby iamntz on Tue May 31, 2011 5:07 pm

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 ).
iamntz
 
Posts: 907
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Linux remote editing

Postby cfrank on Fri Jun 03, 2011 10:40 pm

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
cfrank
 
Posts: 3
Joined: Tue Apr 26, 2011 3:54 pm


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests