There are probably several way to accomplish this I just needed to think about
it a wee bit longer. One way would be to prepend an identifier to the
file,strip the header from the raw data on reception and then save the image. I
dont think its complicated. I may need a seperate server to handle
Hello again everyone,
Maybe using two senders/receivers would help. The control protocol,
which can use XML or JSON, or whatever, would identify the files by
their md5 sum? The file transfert protocol would detect the header of
each file to separate them.
a
gary clark wrote:
> There are probably
hey Alexandra,
The only reason why I suggested another server would be to distribute the
load on the system. Essentially the files that are intended to be sent over
will consume alot of processing since .jpeg etc are humongous.
Yes two connections would be required. Well you could use the MD5 su
Hello again,
I've just read the HTTP PUT proposal email. I think it's a great idea.
Avoid reinventing the wheel, whenever possible !
Alternatively, sending only the file name could work if the client
then GET the file from an HTTP server that serves static files.
Using Nevow:
from nevow import sta
Hi all,
i think i'm not doing things in the right way:
http://paste.debian.net/59855/
this code implement a simple jabber client, if you remove the class defnition
and run it (removing also the run def) it works!
but if i 'class' it and run via:
http://paste.debian.net/59856/
reactor.run() ha
I believe reactor.run() never returns and always blocks the calling
thread until reactor.stop() is called, afterwhich you cannot call
reactor.run() again. Not sure if that helps you though.
On Sun, 2010-02-14 at 22:36 +0100, giskard wrote:
> Hi all,
>
> i think i'm not doing things in the right
Hello giskard,
I suggest you leave the reactor.run() in the if __name__ == "__main__"
of your application. It's a blocking call, until you call
reactor.stop().
Thats make things a lot easier when you need to merge many
applications, classes, etc. together.
Next, to start your Jabber client, you sh