[twsocket] THttpCli: (StatusCode = 0 AND ReasonPhrase = OK) ???

2010-03-26 Thread Keith Willis
Hi All, I've noticed that sometimes this happens in my application... THttpCli: (StatusCode = 0 AND ReasonPhrase = OK) A search of the HttpProt.pas source has failed to shed any further light on this... Any suggestions? Regards, Keith Willis. No virus found in this outgoing message. Checked

[twsocket] PROGRESS: EAccessViolations when Posting Data to a HTTPServer

2009-02-05 Thread Keith Willis
Oops...I forgot to add the following line to my code: HttpServer-ClientClass = __classid(TMyHttpConnection); Consequently, all my memory allocations/deallocations were trashing the heap in unpredictable ways. Keith Willis. ps. That MadExcept looks great as does EurekaLog -Original

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-02-04 Thread Keith Willis
. It might be time to try the Indy component to see what it does :( Keith Willis. -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels Sent: Monday, 2 February 2009 3:43 AM To: ICS support mailing Subject: Re: [twsocket

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-31 Thread Keith Willis
Hi Arno, Just confirming that you meant to write: ClientCnx-Receive(Junk, sizeof(Junk)); Instead of: ClientCnx-Receive(Junk, sizeof(Junk)); Cheers, Keith. -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-31 Thread Keith Willis
Arno, No luck I'm afraid... I'm still getting those AV's :( Keith. Here's my current code... As per your suggested code. I also made the TMemoryManager global to the application. I will try free and malloc next. CODE SNIPPETS

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-31 Thread Keith Willis
support mailing Subject: Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer Keith Willis wrote: Just confirming that you meant to write: ClientCnx-Receive(Junk, sizeof(Junk)); Instead of: ClientCnx-Receive(Junk, sizeof(Junk)); I don't think so, I meant the address of Junk

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-31 Thread Keith Willis
Well I tried malloc and free without any joy. I have however been able to ascertain that its crashing in the call to Receive. More significantly its only crashing on my target machine, (an ASUS EEE Box B202 running Windows XP Home). I can't seem to crash it on my development PC, (A generic

[twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-30 Thread Keith Willis
, (but this is not an acceptable solution). In the code snippets below I pre-allocate once in the constructor but this still generates AV's. Can anyone shed some light on what might be happening here? Regards, Keith Willis. CODE SNIPPETS

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-30 Thread Keith Willis
Hi Arno, You never check PostedDataSize, the size of your receive buffer. The pascal demo allocates this buffer dynamically depending on the RequestContentLength plus one byte for the null terminator in the OnPostDocument event handler. What is the value of RcvdByteCount when the error

[twsocket] FTP Client - Size() Function

2005-07-30 Thread Keith Willis
. The responses of five common FTP servers to FEAT are listed below: Cheers, Keith Willis. -- 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

[twsocket] More on winsock.h included

2005-07-24 Thread Keith Willis
, (SmtpProt.hpp, FtpCli.hpp) followed by Borland, (scktcomp.hpp) and finally TurboPower Internet Professional, (IpFtp.hpp). All other arrangements fail with errors relating to the fact that both winsock.h and winsock2.h both appear to have been included. Cheers, Keith Willis. -- To unsubscribe or change

[twsocket] Typo in IcsSha1.pas ?

2005-07-24 Thread Keith Willis
IcsSha1.pas LINE 63: Bomb('This code requires Delphi 2 or later'}; Methinks... final } should be a ) Keith. -- 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

[twsocket] TFtpClient Timeouts?

2005-07-23 Thread Keith Willis
Hi All, What's the best way to detect if a timeout has occurred in a TFtpClient operation? Regards, Keith Willis. -- 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

[twsocket] File Uploads via HTTP

2005-06-11 Thread Keith Willis
Hi All, Is there a way to upload files directly, (in a similar fashion to FTP) using the ICS HTTP Client? Regards, Keith. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at