[twsocket] Safely save a binary file

2006-12-29 Thread tol
Hello twsocket, I'm trying to make the http server save binary files. I was able do do it, but they are wrapped into headers: -54472172614771 Content-Disposition: form-data; name=file; filename=IBM_286.rar Content-Type: application/octet-stream Rar!W+%~бяо+¤^?юL

Re: [twsocket] Safely save a binary file

2006-12-29 Thread Francois Piette
it, but they are wrapped into headers: It is the so called MIME format which is used by browsers to send files. The question is, how to get rid of this header and footer safely. Is it enough just to delete first 4 lines and last 5 lines or it should be done some other way? You should decode

Re: [twsocket] Safely save a binary file

2006-12-29 Thread tol
Hello Francois, Friday, December 29, 2006, 1:16:14 PM, you wrote: The question is, how to get rid of this header and footer safely. Is it enough just to delete first 4 lines and last 5 lines or it should be done some other way? FP You should decode it carefully. The number of header lines

[twsocket] POP3

2006-12-29 Thread Rob Ashburn
Hi all, I've never used the email components before, so forgive me if these are dumb questions. I've been looking at the MailRcv demo, and while I think I have an idea what it's doing, I'm a little confused. What is the difference between Open and Connect? Is it that Connect simply gets the

Re: [twsocket] POP3

2006-12-29 Thread [EMAIL PROTECTED]
Hello: I haven't worked with POP3 authentication, so I can't answer those questions, but at least I can give you an answer to your first question: --- quote: What is the difference between Open and Connect? Is it that Connect simply gets the server's attention, so to speak, such that User,

Re: [twsocket] POP3

2006-12-29 Thread Rob Ashburn
Hi, You are absolutely correct. Thanks for that dZ! Rob. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be