No way to cancel SendFiles() in obexd
Heya,
I have a slight problem with SendFiles().
When sending multiple files, and refusing one of them on the phone, the subsequent files are still sent.
Is there a way to avoid that? Or should I rework the UI slightly to mention that some files were not sent?
For a single file, you'll get a nice "retry" button if the phone refused the connection. I'd prefer it if the agent could ask me whether to carry on sending files, or cancel all the sending.
Cheers
Hi Bastien,
Quoted 10 lines · Bastien Nocera
Heya,
I have a slight problem with
SendFiles().When sending multiple files, and refusing one of them on the phone, the subsequent files are still sent.
Is there a way to avoid that? Or should I rework the UI slightly to mention that some files were not sent?
As of now, there's no way to avoid that. Personally, I like the current behavior, at least, it is consistent with other tools, cp for example.
Quoted 4 lines
For a single file, you'll get a nice "retry" button if the phone refused the connection. I'd prefer it if the agent could ask me whether to carry on sending files, or cancel all the sending.
Between those two options, I prefer cancel all the sending.
Quoted 7 lines
Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Cheers,
Signature · 2 lines
Vinicius Gomes INdT - Instituto Nokia de Tecnologia
Quoted 10 lines · Vinicius Gomes
Hi Bastien,
Quoted 7 lines · Bastien Nocera
Heya,
I have a slight problem with
SendFiles().When sending multiple files, and refusing one of them on the phone, the subsequent files are still sent.
Quoted 7 lines
Quoted 3 lines
Is there a way to avoid that? Or should I rework the UI slightly to mention that some files were not sent?
As of now, there's no way to avoid that. Personally, I like the current behavior, at least, it is consistent with other tools, cp for example.
That's fine if you're implementing a command-line tool. Most UIs that do copy will block until the user acknowledges the problem.
Quoted 6 lines
Quoted 4 lines
For a single file, you'll get a nice "retry" button if the phone refused the connection. I'd prefer it if the agent could ask me whether to carry on sending files, or cancel all the sending.
Between those two options, I prefer cancel all the sending.
That would be fine by me, at least I can implement re-sending in some way, even if it's not the way it currently works.
Marcel, what do you think?