Page 1 of 1

Bluefish Cannot Use Remote Files

Posted: 13. Jun 2012, 20:39
by stoneheart
I am using Salix 13.1. The Bluefish editor has a feature where you can enter a ftp location with credentials in the location bar. After entering your password in the prompt that pops up, you can start working with files remotely.

This doesn't work with the Bluefish version (2.02) I installed from the Salix 13.1 repository. Nothing happens after I enter the credentials in the location bar.

Trying another approach, I installed curlftpfs from the SlackBuilds site. I was able to get a working connection to my remote server, but when I try to save a file with Bluefish, I get an error message:

Could not save file test.php
Error opening file '/home/remoteserver/www/random/test.php': Operation not supported

However, if I try to edit the same file in Geany, it works fine. Is the Bluefish package missing some needed options? I've used this feature before in other distros.

Re: Bluefish Cannot Use Remote Files

Posted: 13. Jun 2012, 20:43
by stoneheart
I should add that I can read files perfectly but not write them with Bluefish.

Re: Bluefish Cannot Use Remote Files

Posted: 14. Jun 2012, 09:42
by gapan
Let me get this straight:
1. You're mounting an ftp directory with curlftpfs.
2. You're opening a file in that mountpoint using bluefish
3. Bluefish is unable to save to it?

If that's the case, you should look at your ftp settings. Maybe you don't have write permissions.

Re: Bluefish Cannot Use Remote Files

Posted: 14. Jun 2012, 14:36
by stoneheart
That's exactly the case, but I don't think it's anything to do with permissions since I CAN write with Geany. Just not with Bluefish. After googling some last night, I also installed the gnome_vfs package, but adding it did not solve my problem.

Re: Bluefish Cannot Use Remote Files

Posted: 14. Jun 2012, 18:28
by gapan
That has nothing to do with bluefish. You should check your connection and your ftp settings. Bluefish doesn't care at all about the ftp mount, as far as it knows it's just using the local filesystem. Geany or any other editor does exactly the same. If it's a problem with anything it might be with curlftpfs or the ftp server itself. If it worked with geany, it might only have been by chance. Maybe the connection timed out when you used bluefish and with geany you just made a small change after mounting and saved immediately, so that it didn't have any time to time out.

Re: Bluefish Cannot Use Remote Files

Posted: 14. Jun 2012, 22:00
by stoneheart
I can reproduce the problem 100% with Bluefish. I can also write 100% of the time with Geany. I have a working FTP mount as I can browse the directory in the file manager and I can open and write files in Geany fine.

As I said above, I can OPEN files fine in Bluefish, but I cannot write them.

I don't see how this could be a settings problem with curlftpfs if it works in one editor but not another.

Do you have any other suggestions? Thanks!

Re: Bluefish Cannot Use Remote Files

Posted: 14. Jun 2012, 22:13
by gapan
I'm sorry, but this doesn't make much sense. There is no reason why bluefish shouldn't work. It doesn't see an ftp mount, it just uses the filesystem as it always does. Same with any other app. Maybe bluefish tries to write some "exotic" filesystem attribute that is not compatible with curlftpfs? I don't know, I would find that very strange, maybe only the bluefish developers will know that. Try asking them.

I guess you could also try mounting with gigolo (or with caja if you're using the mate edition) instead of curlftpfs.