Home Download Buy Blog Forum Support

ST3 and FTP editing on Ubuntu

ST3 and FTP editing on Ubuntu

Postby rubjo on Thu Jun 06, 2013 7:39 pm

Are there any known issues connected to ST3 being beta here? Attempting to edit files over FTP (via "Connect to server" in Nautilus) opens the files, but leaves me unable to save the file and gives a warning: Unable to save /run/user/1000/gvfs/ftp:host=.....php, Error: rename(/run/user/1000/gvfs/ftp:host=.....tmp, /run/user/1000/gvfs/ftp:host=.....php) failed, errno: 5.

gedit does the job just fine without throwing any warnings.
rubjo
 
Posts: 1
Joined: Thu Jun 06, 2013 7:34 pm

Re: ST3 and FTP editing on Ubuntu

Postby KEIII on Tue Jul 23, 2013 11:22 am

Have a same problem on Sublime Text 2 and Sublime Text 3 (3047).
Periodically when I press Ctrl+S Sublime just freezing until remount ftp.
KEIII
 
Posts: 3
Joined: Thu Nov 01, 2012 2:07 pm

Re: ST3 and FTP editing on Ubuntu

Postby tylerjwilk on Sun Sep 08, 2013 10:19 pm

Bump.
I too am having issues with the gvfs on Sublime. I am mounting over sftp using nautilus / gvfs and when I browse those remote mounted folders listings are slow and the command GoTo Anything is useless since sublime does not know about files deep in the directory structure of the remote mount.

:?: Does anyone have a gvfs workaround ?

This is the only thing keeping sublime from being my editor of choice.
tylerjwilk
 
Posts: 4
Joined: Sun Sep 08, 2013 10:12 pm

Re: ST3 and FTP editing on Ubuntu

Postby nabil_kadimi on Thu Nov 21, 2013 12:50 pm

If you get disconnected, it's a bug on gvfs not Sublime, and the fix is to run this script, which prevents FTP from disconnecting

Code: Select all
    #!/bin/bash
    while true
    do
            echo -n -
            ls ~/.gvfs/FTP* &> /dev/null
            sleep 15
    done



Just save this file and "chmod +x" it, then call it from the terminal, then throw that terminal window in an unused workspace.

------------------
I must Thank:
Daniel Scholtus (sdeonline) for the script: https://bugs.launchpad.net/ubuntu/+sour ... bug/410288 (comment #35)
nabil_kadimi
 
Posts: 2
Joined: Thu Nov 21, 2013 12:38 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 17 guests