Hi,
Since there hasn't been much activity on this thread, I decided to drop
in and express my interest as well. I have been mulling the idea of an
ecommerce website which can be managed through Ad-Hoc commands and Data
Forms, and this XEP would make it possible to upload product images as well.
There has been some debate about the necessity of the <use> element. My
thoughts on it:
I like the idea because it avoids an additional file transfer from the
client's own upload service to whichever one is used by the entity
accepting data forms. This will help reduce the load on the client's
server, which could be important if the client's server has low
resources (eg. selfhosted or serving a small group) and/or if the entity
serving the form wants to transfer very large files like videos or
something.
Since <use> is optional (as goffi has indicated in chats), it shouldn't
cause development overhead, as clients can just choose not to implement
it, but remains an option in cases where it's helpful.
To prevent confusion, it would help if <use> being optional was
explicitly mentioned under Section 3
<https://xmpp.org/extensions/inbox/data-form-file-element.html#file-input>
where it is introduced.
I'm not familiar enough with the Jingle File Transfer or HTTP File
Upload to comment on the specifics. I will get back with my comments (if
any) after reading the relevant XEPs.
Best,
Badri