Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File transfer #23

Closed
tbeitter opened this issue Feb 4, 2013 · 34 comments
Closed

File transfer #23

tbeitter opened this issue Feb 4, 2013 · 34 comments

Comments

@tbeitter
Copy link

tbeitter commented Feb 4, 2013

If there would be a way to send files via xmpp, and to see them in-chat, we could push whatsapp to the trash bin.

XEP-0096 - http://xmpp.org/extensions/xep-0096.html

@alkino
Copy link

alkino commented Feb 12, 2013

It's an old XEP, now we have: http://xmpp.org/extensions/xep-0234.html

@alvaro-cuesta
Copy link

I'd like to work on this. Any progress so far?

@alkino that link says "WARNING: Consideration of this document has been Deferred by the XMPP Standards Foundation. Implementation of the protocol described herein is not recommended."

@alkino
Copy link

alkino commented Jun 24, 2013

Hi.
I asked. So: http://xmpp.org/extensions/xep-0001.html#states
9.6 Deferred
An Experimental XEP of any type is changed to the Deferred state if it has not been updated in twelve (12) months.

Is it still valid, it's only that nobody proposed it as a draft.

So it's the way to go even it's deferred.

From jdev@conference.jabber.org

it has not been updated in X days
but it doesn’t mean it’s bad
This link should be added near the deferred status, so much people interpret it as “don’t use that” or “obsolete”.

@michelepagot
Copy link

any updates?

@ildar
Copy link

ildar commented Jun 20, 2014

According to commit log there was no commits for a several month.
Personally I moved to Conversations (
https://f-droid.org/repository/browse/?fdid=eu.siacs.conversations).

@andrewnenakhov andrewnenakhov modified the milestones: 0.9.31, 0.14.0 Xmpp improvements Jan 30, 2015
@ironjan ironjan mentioned this issue Feb 11, 2015
@robert-scheck
Copy link

+1 for file transfer support

@sbrl
Copy link

sbrl commented Jul 11, 2015

We also have SOCKS5 proxies. Both prosody (XMPP server) and pidgin (XMPP client) supports it natively. Perhaps Xabber could too?

@esalazioneHg
Copy link

+1 for file transfer, the last "big" feature missing in xabber imho

@alkino
Copy link

alkino commented Jul 27, 2015

Which way?
Old: http://www.xmpp.org/extensions/xep-0096.html
New: http://xmpp.org/extensions/xep-0234.html

In the new way you need UPnP or meeting point if you don't use IBB. You
shouldn't use IBB it's really slow...

@tbeitter
Copy link
Author

Another way would be to use xep-0114 (http://xmpp.org/extensions/xep-0114.html) as Conversations does since 1.5.0. Siacs implemented a little plugin to serve this (https://github.com/siacs/HttpUploadComponent).

The benefit is that you do not need the other client to support the file transfer xep, too. It's way more usable that way.

@sbrl
Copy link

sbrl commented Jul 27, 2015

I would go with the XEP-0114 that @tbeitter mentioned. I think pidgin uses this too? I have a SOCK5 file transfer proxy component set up in prosody on a subdomain that I use in pidgin.

@tbeitter
Copy link
Author

the xep-0114 is not the socks transfer. It's used to upload the shared file to the server and the recipient will only get the http/https link to the file. That way there is no need to implement a file sharing logic on the recipient's side.

@sbrl
Copy link

sbrl commented Jul 27, 2015

@tbeitter Ok. So does pidgin handle this all automatically, or does it use some other method? I can't send files to someone using Xabber currently because it tells me that the recipient doesn't support it. This suggests that it uses some other method, but as for what I have no idea.

@moshpirit
Copy link

XEP-0363: HTTP File Upload allows us to share files in conferences and with offline contacts but requires an additional component on the server already implemented in a lot of servers thanks to Conversations. It works perfectly so maybe it should be the best option to include instead of Jingle and Legacy because it's not necessary to have another client which enabled the XEP (it just shows a link to download the file).

@grigoryfedorov
Copy link
Contributor

@moshpirit thanks! Could you suggest several servers for testing?

@moshpirit
Copy link

I'm on the street so I just can tell you that suchat.org allows it and works perfectly. Maybe mijabber.es too. Sorry for not telling you more servers :(

@sbrl
Copy link

sbrl commented Sep 11, 2015

If my server supports it, I can give you an account or two on it if you want :)

Address: starbeamrainbowlabs.com
Server Software: Prosody

I've just installed mod_http_upload - I think that adds support for XEP-0363 to prosody. Here's the relevant snippet from my server's config file:

Component "filetransfers.starbeamrainbowlabs.com" "proxy65"
modules_enabled = {
    "http_upload";
}

Just ask and I will create you an account or two, and send you the login details by email if you provide an address.

@grigoryfedorov
Copy link
Contributor

In new 1.0.51 version of Xabber Beta I've implemented HTTP file upload XEP-0363 (with new namespace, so server module should not be old).
Also it now parses links to files.

@sbrl
Copy link

sbrl commented Oct 8, 2015

Awesome! Can't wait for the next beta release.

@grigoryfedorov
Copy link
Contributor

@sbrl BTW you should update mod_http_upload on your server due to this update. Thanks for test accounts :)

@sbrl
Copy link

sbrl commented Oct 8, 2015

@grigoryfedorov Done. No problem! Keep the test accounts and do whatever you like with them (except give the login details to anyone who isn't working on Xabber of course). Just contact me if you want a new module installing :)

@moshpirit
Copy link

A different name? Why??

Thanks for the great work here, but changing actual XEPs while requiring that the servers use it too doesn't sound really good to me :(

@sbrl
Copy link

sbrl commented Oct 8, 2015

@moshpirit Different name? I assumed that the new mod_http_upload that @grigoryfedorov linked to was just an update.

@moshpirit
Copy link

Oh, then I'm sorry, I've just woken and I probably I read it wrong. If that's the case, I'm really sorry for the misunderstanding. That's even better news!! \o/

@sbrl
Copy link

sbrl commented Oct 8, 2015

@moshpirit I didn't read the diff properly.... so I don't actually have
a clue what the update does :P

On 08/10/15 17:36, moshpirit wrote:

Oh, then I'm sorry, I've just woken and I probably I read it wrong. If
that's the case, I'm really sorry for the misunderstanding. That's
even better news!! \o/


Reply to this email directly or view it on GitHub
#23 (comment).

@grigoryfedorov
Copy link
Contributor

@moshpirit you can see this issue siacs/HttpUploadComponent#51 in the HttpUploadComponent (namespace was different from XEP, and was fixed not far ago)

@moshpirit
Copy link

Oh, OK ;-)
When do you think that Xabber would be ready to be released with the XEP?

@sbrl
Copy link

sbrl commented Oct 12, 2015

@moshpirit It's already been released in the beta channel!

@moshpirit
Copy link

Yes, but AFAIK you need a Google account for it.

@sbrl
Copy link

sbrl commented Oct 12, 2015

@moshpirit Don't you need a Google account to install any android app?

@moshpirit
Copy link

Of course not! I use F-droid. The only service I use from Google is YouTube and I use it from TOR browser. I've been living without any Google account for 2 or 3 years.

@sbrl
Copy link

sbrl commented Oct 12, 2015

@moshpirit I didn't know that. My phone asks me to sign in before I download apps.

-------- Original message --------
From: moshpirit notifications@github.com
Date: 12/10/2015 11:09 AM (GMT+00:00)
To: redsolution/xabber-android xabber-android@noreply.github.com
Cc: Starbeamrainbowlabs sbrl@starbeamrainbowlabs.com
Subject: Re: [xabber-android] File transfer (#23)

Of course not! I use F-droid. The only service I use from Google is YouTube and I use it from TOR browser. I've been living without any Google account for 2 or 3 years. —Reply to this email directly or view it on GitHub.

@moshpirit
Copy link

You don't need any account for using F-droid, just the apk. I don't want to be rude, but please, search on Internet or ask in the forum, we are talking about an off-topic issue.
You can contact me by using the link on my profile if you have more doubts.

@grigoryfedorov grigoryfedorov modified the milestones: 1.4 Xmpp improvements, Xabber 2.0 Mar 22, 2016
@tanty tanty mentioned this issue Jun 30, 2016
@andrewnenakhov
Copy link
Member

Now possible with http-upload in Xabber 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests