Jabber Inband Bytestream (XEP-00457) - WeOnlyDo Discussion board

Jabber Inband Bytestream (XEP-00457) (wodWebServer / wodWebServer.NET)

by Marcus Reiter, Monday, June 23, 2008, 09:27 (5788 days ago)

Hello,

is there Inband Bytestream Support in your Component ?


Ciao

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Monday, June 23, 2008, 13:23 (5787 days ago) @ Marcus Reiter

Sorry,

I mean XEP-0047 !

Hello,

is there Inband Bytestream Support in your Component ?


Ciao

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by woddrazen, Monday, June 23, 2008, 13:29 (5787 days ago) @ Marcus Reiter

Hi Marcus,


I have forward your question to our developers. You should receive response from them.

I already find out that you are talking about XEP-0047


Drazen

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Monday, June 23, 2008, 21:52 (5787 days ago) @ woddrazen

Hi Marcus,

At the current time, the component doesn't support it. Can you perhaps explain more why you need that?

If it's really necessary, we could perhaps check how easy/hard it would be to implement this into the component.

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Tuesday, June 24, 2008, 07:32 (5787 days ago) @ wodDamir

Hi Damba,

thank you for your answer.

It is (so i think and understand it) the only way to send a file to a contact when it is offline !?

I´m search for way to send file to a contact that is not online. Is there an other way in jabber to do that ?

Greetings

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Tuesday, June 24, 2008, 10:26 (5787 days ago) @ Marcus Reiter

Hi Marcus,

The only way of sending an offline file is, as far as I know, by serving a file on http server, and presenting a user to obtain the file from that site. This is implemented in wodXMPP as ServeFile method. Note that in this case, you should provide the user with the URL property provided in XMPPFile object.

Also, please note that the file will be available as long as wodXMPP is active, or the number of connections specified as MaxConn parameter is exceeded.

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Tuesday, June 24, 2008, 11:00 (5786 days ago) @ wodDamir

Sorry Damba,

your solution is not the solution I search. Your solution with serve file has the problem that the side which serve the file must be online to serve the file when the other side goes online to receive the file. When you must implement to your component a method to serve the file on an other http-server there is always on. But is there any security on http ?

On the other Hand, I find this solution, with sending an Download-Link , not very userfriendly.

With InbandByteStream (so I understand it) there is solution to sending offline a file. It is a message with a file, like email with attachment

Greetings

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Tuesday, June 24, 2008, 14:33 (5786 days ago) @ Marcus Reiter

Marcus,

I do believe you are correct about the transfer to offline contact, but still, the size of file to be transferred would be rather small.

I've already contacted our programmers about this, so they'll check how easy/hard it would be to implement this feature.

We will inform you as soon as we know more on this.

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Tuesday, June 24, 2008, 14:47 (5786 days ago) @ wodDamir

Hello Damba,

thank for contacting your programmers.

I understand XEP-0047, that there is no filesize limitations, or ?


ciao

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Tuesday, June 24, 2008, 14:50 (5786 days ago) @ Marcus Reiter

Marcus,

There is no file size limitation, but when you send a message to offline contact, the message is stored on server, and delivered as soon as the contact comes online.

As far as I know, servers do have a limit on those, some even don't allow offline messages at all.

regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Tuesday, June 24, 2008, 15:00 (5786 days ago) @ wodDamir

Hello Damba,

thank you for the fast answer.

The problem with the server is not really given for me. I would setup a server only for use with ourer customers.


Ciao

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Wednesday, June 25, 2008, 13:31 (5785 days ago) @ Marcus Reiter

Hello Damba,

another question about the wodxmpp and xep-0047.

Is there a chance to integrate XEP-0047 in wodxmpp with a selfprogammed plugin etc.?

I have see that there is the eventhandling for UnhandledIQ. I understand it so that i can reaction when i receive a unhandlediq, but can i send a unhandlediq with wodxmpp ?


thanks

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Monday, June 30, 2008, 15:52 (5780 days ago) @ Marcus Reiter

Hello Damba,

another question about the wodxmpp and xep-0047.

Is there a chance to integrate XEP-0047 in wodxmpp with a selfprogammed plugin etc.?

I have see that there is the eventhandling for UnhandledIQ. I understand it so that i can reaction when i receive a unhandlediq, but can i send a unhandlediq with wodxmpp ?


thanks

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Monday, June 30, 2008, 15:54 (5780 days ago) @ Marcus Reiter

Hello again
Damba,

I think there is a mistaken in my interpreting of XEP-0047! The sender and the receiver must be online, or? The receiver must be accept the filetransfer via XEP-0047 and so there is no chance to transfer a file offline with XEP-0047. The only chance, so I understand it, is XEP-0129 WebDAV Filetransfer.....

You have implemted it in WODXMPP, but when I see right with a integrated Webserver. I there a chance to change this to a webserver that is outside of your component ?

Greetings

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Monday, June 30, 2008, 16:06 (5780 days ago) @ Marcus Reiter

Marcus,

It's currently impossible to store a file on some other server thru wodXMPP, but I've already forwarded this to our programmers to see if/how hard it is to implement.

As for XEP-0047, this is in process of implementation. We will contact you as soon as it is implemented.

Hope this helped.

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by woddrazen, Monday, June 30, 2008, 18:27 (5780 days ago) @ wodDamir

Marcus,


For now, we don't have plans to implement something like XEP-0129.


Drazen

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Monday, June 30, 2008, 22:21 (5780 days ago) @ woddrazen

Hello Drazen,

can you me explain where is the different about your serverfile-function and XEP-0129 ?


Ciao

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodSupport, Monday, June 30, 2008, 22:26 (5780 days ago) @ Marcus Reiter

Marcus,

This would require implementation of both sides of WebDAV protocol to implement it into wodXMPP. I don't think we can go into that direction at this point. Our 'servefile' is much simpler HTTP GET provider.

Regards,
Kreso

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Tuesday, July 01, 2008, 15:19 (5779 days ago) @ wodSupport

Hello Kreso,

is there a chance to implent this by my own in wodxmpp. Is there a plugin/extension-interface in wodxmpp ?

Thanks

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodSupport, Tuesday, July 01, 2008, 15:25 (5779 days ago) @ Marcus Reiter

Sure. You can use UnhandledIQ to intercept IQ messages. Also you can use PretranslateCommand event to catch data, and RawSend to send data.

Regards,
Kreso

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Wednesday, July 02, 2008, 12:40 (5778 days ago) @ wodSupport

Marcus,

XEP-0047 should be implemented now. Can you please download the latest version and give it a try?

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Thursday, July 03, 2008, 11:29 (5777 days ago) @ wodDamir

Hello Damba,

I´m testing, but where I can switch on XEP-0047 ? Do I have tomatos on my eyes ? ;-)


Greetings

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Thursday, July 03, 2008, 17:50 (5777 days ago) @ Marcus Reiter

Marcus,

When receiving file, you should specify what type of stream you wish use to receive it. This is done in FileTransferStart event, by specifying File.StreamType, and setting it to
http://jabber.org/protocol/ibb .

Hope this helps.

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Thursday, July 03, 2008, 18:59 (5777 days ago) @ wodDamir

Hello Damba,

thank you for answer. But where is chance to send/receive offline a file ?


Thank you

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Thursday, July 03, 2008, 19:43 (5777 days ago) @ Marcus Reiter

Marcus,

Unfortunately, no. After further checking of the implementation, it's impossible to make offline transfer using ByteStreams, since they require user's acceptance of the file.

Do you perhaps know of any client capable of sending files offline?

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Thursday, July 03, 2008, 20:03 (5777 days ago) @ wodDamir

Hello,

I think XEP-0129 must it is.... offline filetransfer with WEBDAV...

Can you realize this ?

But the WEBDAV-Server must be an external server, not in your component!


Ciao

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodDamir, Thursday, July 03, 2008, 20:21 (5777 days ago) @ Marcus Reiter

Marcus,

WebDAV is the only way to send a file to offline contact, but as Kreso (our lead programmer) already stated in one of his replies, I don't think we're going to go that deep into implementing it. At least not at this point.

Regards,
Damba

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Thursday, July 03, 2008, 20:26 (5777 days ago) @ wodDamir

O.K. Damba,

I see it is much worktime to realize this. So I must look for a other solution.

Thank you

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by Marcus Reiter, Friday, July 04, 2008, 14:28 (5776 days ago) @ Marcus Reiter

Hello Damba,

other Idea about the problem with offline file sending....

Is there a chance to implent a method with there I can send file via IBB but with no Success Response from other side ?

Than the server stores the message within the file and delivers it when the receiver goes online.

It´s right this XEP has no name and number, but why not doing things they are not here ?

Sorry, for my bad english..... I hope you understand me ?


Greetings, and a nice weekend !

Marcus

Re: Jabber Inband Bytestream (XEP-00457)

by wodSupport, Friday, July 04, 2008, 20:42 (5776 days ago) @ Marcus Reiter

Marcus,

sorry, but I don't think we can implement something like that because it goes out of scope of XMPP protocol, and our component.

However, I believe wodXMPP's interface is so much open that you can implement this by your own - by intercepting responses from the server and using RawSend to send your own XMPP packets.

Hope this helps!
Kreso