[JDEV] file transfer

Dave dave at dave2.dave.tj
Wed Feb 13 16:49:57 CST 2002

If your main concern is firewalls, you may want to make use of the PASS
component of Jabber.  If you ask me, it's the perfect solution to your
problem, because it enables you to use an existing protocol without
having to worry about one (or even both) users being behind firewalls.
It also means your Jabber clients don't have to go through all that
connecting/listening gunk, which may save a few K in your source files ;-)

 - Dave

kmq at gmx.at wrote:
> hi
> for my file transfer i want to implement in my jabber client i need 
> some tags to manage the infomration exchange between both 
> clients.
> the filetransfer will be P2P and not the http "standart". I will not use 
> the http standart because i want to be able to continue broken 
> downloads and it must be possible to connect->sendfile as well as 
> connect->getfile. (This would enable me to establish filetransfer 
> even if one of the users is behind a firewall)
> my filetransfer is a simple tcp connection that will get transfer the 
> bytes of the file... the information about the file (filesize, byte to 
> start at, filename, IP, port) should be transfered within an xml 
> message to the other client to manage a handshake. Now my 
> question: may i use the oob tag? all the samples have 
> httü:// or something in it... can i use my own 
> tags in it? like 
> <ip></ip><port>2344</port><filename>blah.zip</filena
> me><filesize>12345</filesize>....
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

More information about the JDev mailing list