You are not logged in.

#1 2011-06-24 22:43:34

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

ftp location commands not working on programs

Hi, I dont know how to explain this so I better post a screenshot. Im trying to open a remote file with bluefish to edit it in place and save changes after.

52jdcp.png

I have tried to open with several programs with no luck, so its not bluefish specific, I have also tried aptana studio 3 and same thing. Of course those are not the real parameters for the ftp server (just in case big_smile) they are just for ilustrative purposes.

If I do it via dolphin, it works, konqueror also works, but whenever Im inside a different program it wont let me.

What can I do to fix this?

thanks in advance for the help!


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#2 2011-06-25 00:33:42

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: ftp location commands not working on programs

I'm not a "heavy" user of Bluefish (I use Netbeans) but ... as far as I can recall it does not have FTP support built in ... so, you will never connect.
You may be able to create a virtual directory and point Bluefish to read from it (like for instance WebDAV) but otherwise I do not know other way to do it.
I use it that way (sometimes) when I connect to some of my client's servers using ssh. Dolphin connects to the site and I open the files in Bluefish...

Hope this helps.

R.

Offline

#3 2011-06-25 01:37:54

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: ftp location commands not working on programs

It does have, here is what I am trying to do big_smile

http://bluefish.openoffice.nl/movies/wo … files.html


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#4 2011-06-25 02:10:02

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: ftp location commands not working on programs

Little detail though ... the demo is using sftp NOT ftp.
sftp is the equivalent of using ssh to log to a site (it is a secure access) while ftp (which is almost no longer supported anywhere, except perhaps for intranets) is not.
Try using sftp (assuming the site you are connecting supports it) and see...

R.

p.s. I just did a test with my Bluefish (ver. 2.x) and .... IT DID NOT WORK!!
       I tested using sftp. I did notice that the version of Bluefish in the demo is 1.x, perhaps newer versions do not have sftp support? Or may be a plugin is needed.

Last edited by ralvez (2011-06-25 02:17:25)

Offline

#5 2011-06-25 02:19:35

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: ftp location commands not working on programs

Yeah I have already tried also, works in konqueror/dolphin but not in bluefish or other programs dialogs, its weird.


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#6 2011-06-25 02:26:03

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: ftp location commands not working on programs

Those file managers use plugins in order to do that "magic".  wink

R.

Last edited by ralvez (2011-06-25 02:26:32)

Offline

#7 2011-06-25 02:40:09

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: ftp location commands not working on programs

But doesnt dolphin itself manages those dialogues???? I read somewhere that on gnome those kind of stuff are handled by gnome-vfs or something like that, where should I look at to troubleshoot this? im on KDE 4 btw big_smile


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#8 2011-06-25 03:44:26

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: ftp location commands not working on programs

I do not think so.
Editors usually have their own tools for file transfer. Some will "call" the file manager to do it but most of them have their own tool.
In the demo, for instance, it uses the file manager built into BF. That's one of the reasons I think that either the new version  does not have the support OR a plugin is needed.

Have you taken a look into BF forums for some more info?

R.

Offline

#9 2011-06-25 04:11:06

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: ftp location commands not working on programs

nope havent checked BF forums, will do, I didnt know there was a forum for BF, just noticed that the mailing list acts like if its a forum so I will post there and see what people say big_smile then come back here qith results.


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#10 2011-06-30 23:20:46

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: ftp location commands not working on programs

ok I am back with the solution big_smile

For remote files, bluefish uses GVFS, so first thing you should check that you have that installed

pacman -Ss gvfs

that will bring you the related packages along with which ones are installed. In my case I had all the relevant ones and didnt install the bluetooth support or anything like that, just read the package descriptions and you should be fine.

the command that will do magic for you is gvfs-mount use it as so:

gvfs-mount ftp://yourdomain.com

then it will ask for user and password just type them in and you are good to go (that command mounts the ftp on /hone/youruser/.gvfs)
Then you can go into bluefish and see it on the file list and explore it to your hearts content big_smile along with edit it in place etc etc.

you can do it with sftp also:

gvfs-mount sftp://yourdomain.com

If your hosting provider port number is different from the default just add it at the end of that line with a ":"

gvfs-mount sftp://yourdomain.com:2222

Hope it helps!


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

Board footer

Powered by FluxBB