[JDEV] File transfer and Jabber
Mathew Johnston
johnston at megaepic.com
Sun Apr 22 18:58:48 CDT 2001
Sounds cool enough.
You probably should not have to worry about the encryption of the file
since this should be taken care of on a level before the file transfer
information (ie, it'd look like this:
<message>
<body>Encrypted File Transfer</body>
<x xmlns="w3c:x:encrpyted">
<encryption_header>ABC</encryption_header>
</x>
</message>
where the w3c:x:encrypted namespace is the one defined by the w3c working
group for encrypted xml and ABC decrypts to whatever x tag contains the
file transfer information )
Mathew Johnston
On Sun, 22 Apr 2001, Rob Kooper wrote:
> Ok, just to start thinking about this and maybe at one point start
> implementing this into the server (will need some help from client
> developpers).
>
> Since we already have the whole connection system in jabber I was thinking
> of when I want to transfer a file, I'll send it to the server that I am
> connected to and send the file as chunks (size and rate depending on
> flowcontrol parameters). The server can then either collect the chunks till
> all data is received, and then send the chunks to the receiving user (after
> first asking for its flow control parameters).
>
> The xml-data (not familiar with xml so will have to do a quick read for this
> part) will contain, sender, filename, msgnumber and total msgs. This way we
> can have some simple progressbar, and the receiving user can see who is
> sending (and potential cancel).
>
> The flowcontrol I am talking about will contain the size of the packet to
> send and the time between packets. So for instance if I have a 56K modem, I
> can decide to make my packetsize 10K, and half a second time, this will
> result in jabber sending the file in burst of about 2seconds, with half a
> second inbetween for other messages to come through.
>
> My thinking on why to do this, is that if the user has a proxy (even a http
> proxy) the data will still arive, no need to know ip-address of receiver.
> Also if the data is encrypted using SSL or pgp, the file will also be
> encrypted.
>
> Comments please,
>
> Rob
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list