[JDEV] File transfers

Andy Beetz andy.beetz at clearswift.com
Wed Jun 5 09:29:52 CDT 2002


I've set up jabberd and got a couple of clients connecting to it (winjab). I
tried a file transfer which worked no problem. What I saw looking at the
Winjab source is that the receiver downloads the file from the sender on
it's own socket based connection.

I'm just thinking that there should be a better way to do this and inside
the message. I'm not saying my idea is the best or anything, but I do think
that it would present the client authors with less headaches. Anyway, my
idea is that a message element can have a child, let's say attachment or
even an x, which will contain the contents of the file. XML can handle this
if the file is base64 encoded, as it ends up as plain text.

Just some thoughts
Andy Beetz


---------------------------------------------------------------------------------------------------------------
Clearswift monitors, controls and protects all its messaging traffic in 
compliance with its corporate email policy using Clearswift products. 
Find out more about Clearswift, its solutions and services at 
www.clearswift.com.
***********************************************************************************
This communication is confidential and may contain privileged 
information intended solely for the named addressee(s). It may not 
be used or disclosed except for the purpose for which it has been 
sent. If you are not the intended recipient, you must not copy, 
distribute or take any action in reliance on it. Unless expressly stated, 
opinions in this message are those of the individual sender and not of 
Clearswift. If you have received this communication in error, please 
notify Clearswift by emailing support at clearswift.com quoting the 
sender and delete the message and any attached documents. Clearswift 
accepts no liability or responsibility for any onward transmission or use of
emails and attachments having left the Clearswift domain.

This footnote confirms that this email message has been swept by 
MIMEsweeper for Content Security threats, including computer viruses.




More information about the JDev mailing list