Giter Site home page Giter Site logo

How to send file with xmpppy? about xmpppy HOT 4 CLOSED

xmpppy avatar xmpppy commented on May 18, 2024
How to send file with xmpppy?

from xmpppy.

Comments (4)

snakeru avatar snakeru commented on May 18, 2024

I do not know if that is possible yet. There was some code, that
implemented in-band data transfer, but for file transfer you also need
signalling.
Am 23.02.2015 07:40 schrieb "pythonshiva" [email protected]:

How can i transfer a file(text file or image) through xmpppy


Reply to this email directly or view it on GitHub
#21.

from xmpppy.

pythonshiva avatar pythonshiva commented on May 18, 2024

Hi @snakeru Thanks for reply, I have found "filetransfer.py" in your xmpp folder. How to use that for transferring a file.

from xmpppy.

snakeru avatar snakeru commented on May 18, 2024

Hi.

See my previous answer :)
Or, alternatively, check out the source.
Am 23.02.2015 08:40 schrieb "pythonshiva" [email protected]:

Hi @snakeru https://github.com/snakeru Thanks for reply, I have found
"filetransfer.py" in your xmpp folder. How to use that for transferring a
file.


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

from xmpppy.

amotl avatar amotl commented on May 18, 2024

Dear @pythonshiva,

the inline documentation for the filetransfer.py module says:

This module contains IBB class that is the simple implementation of XEP-0047.
Note that this is just a transport for data. You have to negotiate data transfer before (via StreamInitiation most probably). Unfortunately SI is not implemented yet.

Alternatively, you might want to look at the corresponding implementations of XEP-0047 at [1] or [2]. Therefore, I believe it is safe to close this issue. Feel free to reopen if you have further questions.

With kind regards,
Andreas.

[1] https://github.com/poezio/slixmpp/blob/master/docs/api/plugins/xep_0047.rst
[2] horazont/aioxmpp#247

from xmpppy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.