Skip to contentSkip to conversation

Specifying destination path in obexd/bluez-5

DISCUSSION Alex Fiestas 2 participants 3 messages Dec 31, 2012 – Jan 2, 2013 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Last time I tried to port KDE's obex support completely to obexd (we are already using obexd-client for opp sendfile) I couldn't complete it because there is no way of programatically specify the destination path of the incoming files, iirc using either ftp or opp.

Now checking out BlueZ-5 I'm not sure I see a way of doing it either.

So, is there anyway of changing the destination path programatically without having to restart obexd-server? If not, can I add a wish somewhere (bugrack?) for it? Would you consider?

Thanks and congratulations for BlueZ-5 :)!

#1 lore raw

Hi Alex,

Quoted 6 lines · Alex Fiestas

Last time I tried to port KDE's obex support completely to obexd (we are already using obexd-client for opp sendfile) I couldn't complete it because there is no way of programatically specify the destination path of the incoming files, iirc using either ftp or opp.

Now checking out BlueZ-5 I'm not sure I see a way of doing it either.

There is always the possibility of using links if the underline filesystem support them. For OPP the agent can provide a different path on the return of AuthorizePush.

Quoted 3 lines

So, is there anyway of changing the destination path programatically without having to restart obexd-server? If not, can I add a wish somewhere (bugrack?) for it? Would you consider?

I guess this is about FTP, right? If I understood you want to be able to change the folders being exported in run-time, that might be possible but if we do that I think it would be better to let the agent set its root folder once registered then you can fully control this on the component implementing the agent interface (usually the UI) leaving the command line switch only for systems without agents.

--
Luiz Augusto von Dentz

#2 lore raw
Quoted 9 lines · On Monday 31 December 2012 12:01:04 you wrote:

Hi Alex,

Quoted 6 lines · Alex Fiestas

Last time I tried to port KDE's obex support completely to obexd (we are already using obexd-client for opp sendfile) I couldn't complete it because
there is no way of programatically specify the destination path of the incoming files, iirc using either ftp or opp.

Quoted 5 lines
Quoted 1 line

Now checking out BlueZ-5 I'm not sure I see a way of doing it either.

There is always the possibility of using links if the underline filesystem support them. For OPP the agent can provide a different path on the return of AuthorizePush.

Oh indeed, one thing less to worry then.

Quoted 10 lines
Quoted 3 lines

So, is there anyway of changing the destination path programatically without having to restart obexd-server? If not, can I add a wish somewhere (bugrack?) for it? Would you consider?

I guess this is about FTP, right? If I understood you want to be able to change the folders being exported in run-time, that might be possible but if we do that I think it would be better to let the agent set its root folder once registered then you can fully control this on the component implementing the agent interface (usually the UI) leaving the command line switch only for systems without agents.

Only changing the root folder will be enough, we are already using links for the rest.

With that, we should be able to port KDE bluetooth support to obexd-server being the first step towards using BlueZ-5

Thanks !