Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-24 Thread Glyph Lefkowitz
On Feb 22, 2010, at 9:13 AM, Christopher Armstrong wrote: > On Mon, Feb 22, 2010 at 2:03 AM, gary clark wrote: >> The correct way I think is to use base64 and just one connection after more >> research. Good to research. >> >> Thanks, >> Garyc > > No, base64ing file contents is a terrible thi

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-22 Thread Christopher Armstrong
based protocol. Just length-prefix the data. > > --- On Sun, 2/14/10, gary clark wrote: > >> From: gary clark >> Subject: Re: [Twisted-Python] Sending jpeg data over TCP/IP >> To: "Twisted general discussion" >> Date: Sunday, February 14, 2010, 12:1

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-22 Thread gary clark
The correct way I think is to use base64 and just one connection after more research. Good to research. Thanks, Garyc --- On Sun, 2/14/10, gary clark wrote: > From: gary clark > Subject: Re: [Twisted-Python] Sending jpeg data over TCP/IP > To: "Twisted general discussion&qu

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-14 Thread Alexandre Quessy
think its complicated. I may need a seperate server to handle >> the files though. >> >> Thanks, >> Garyc >> >> --- On Sat, 2/13/10, Maarten ter Huurne wrote: >> >>> From: Maarten ter Huurne >>> Subject: Re: [Twisted-Python] Sending jp

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-14 Thread gary clark
good luck. KISS for software is the best approach. Thanks, Garyc --- On Sun, 2/14/10, Alexandre Quessy wrote: > From: Alexandre Quessy > Subject: Re: [Twisted-Python] Sending jpeg data over TCP/IP > To: "Twisted general discussion" > Date: Sunday, February 14, 2010,

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-14 Thread Alexandre Quessy
the > files though. > > Thanks, > Garyc > > --- On Sat, 2/13/10, Maarten ter Huurne wrote: > >> From: Maarten ter Huurne >> Subject: Re: [Twisted-Python] Sending jpeg data over TCP/IP >> To: "Twisted general discussion" >> Date: Saturday,

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-14 Thread gary clark
the files though. Thanks, Garyc --- On Sat, 2/13/10, Maarten ter Huurne wrote: > From: Maarten ter Huurne > Subject: Re: [Twisted-Python] Sending jpeg data over TCP/IP > To: "Twisted general discussion" > Date: Saturday, February 13, 2010, 6:07 PM > On Sunday 14

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-13 Thread Maarten ter Huurne
On Sunday 14 February 2010, Alexandre Quessy wrote: > This said, sending them using a programmer's solution - not a sysadmin > solution - would be closer to my own skills, so I am interested in > knowing if this could be suitable. I think, though, that it would be > faster to use a transfert proto

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-13 Thread Maarten ter Huurne
On Sunday 14 February 2010, gary clark wrote: > I want to send raw binary data but also text in the message. I am > currently sending ascii data to the twisted server via open-ssl. Its > great and twisted is cool. However I want to send a name of document and > then the raw data in the same messag

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-13 Thread Alexandre Quessy
Hello, I have the same kind of task to do, and for now, I am thinking about using some kind of file sharing utility, such as Samba, to do so. It's probably a lot more efficient, since they are used to sharing files ! I would just send the file name, not the data itself. This said, sending them usi

[Twisted-Python] Sending jpeg data over TCP/IP

2010-02-13 Thread gary clark
Hello, I want to send raw binary data but also text in the message. I am currently sending ascii data to the twisted server via open-ssl. Its great and twisted is cool. However I want to send a name of document and then the raw data in the same message? Is this possible with twisted. Essentially