[twsocket] FTPClient1 Append Command Query

2006-01-04 Thread [EMAIL PROTECTED]
I've got an FTP Upload module that's working fine. I used Francois's FtpTST1 program as the starting point - many thanks. However rather than upload a large file each time I'd prefer just to append smaller amounts of data to the end of it. But when I try and replace the ExecuteCmd(FtpClient1.Pu

Re: [twsocket] Problem with Overbyte website

2006-01-04 Thread Francois Piette
Problem now solved. Thanks for those who helped. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or chan

Re: [twsocket] FTPClient1 Append Command Query

2006-01-04 Thread Francois Piette
> > NLST s9.dat That's not the append command but the directory list command ! > < 450 s9.dat: Not a regular file > Or is this the server telling me it doesn't support the append command? Not sure about what the server is trying to say, but it doesn't like the file. -- Contribute to the SSL E

Re: [twsocket] FTPClient1 Append Command Query

2006-01-04 Thread [EMAIL PROTECTED]
That confused me as that file PUTs perfectly OK with ExecuteCmd(FtpClient1.Put, FtpClient1.PutAsync); Maybe I should try another FTP server? Thanks, Ed Francois Piette wrote: >> > NLST s9.dat > > > That's not the append command but the directory list command ! > > >>< 450 s9.dat: Not a reg

[twsocket] HTTP 1.1 Basic/Digest authentication

2006-01-04 Thread Fastream Technologies
Hello, I have read most of RFC2617 and I am trying to implement digest authentication for our C++ web server. I have come up with the following questions: 1) How does a client with no support for digest authentication but support for basic one reacts to a 401 www-autheticate reply with digest a

Re: [twsocket] HTTP 1.1 Basic/Digest authentication

2006-01-04 Thread Fastream Technologies
Forget the first question. - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, January 04, 2006 3:12 PM Subject: [twsocket] HTTP 1.1 Basic/Digest authentication > Hello, > > I have read most of RFC2617 and I am trying to imp

Re: [twsocket] HTTP 1.1 Basic/Digest authentication

2006-01-04 Thread Francois Piette
> 2) Does ICS MD5 unit supports digest MD5 as per RFC2617? > Or do I need to use the C++ code in RFC1321 and 2617? ICS MD5 unit is compliant to RFC1321. RFC2617 has nothing to do with MD5 definition. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED]

Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Wilfried Mestdagh
Hello Ja, I think what you wants is the TDnsQuery component (also in ICS package). WSocket.DNSLookup resolve a hostname to IP address. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, January 3, 2006, 22:18, Ja wrote: > Wiadomo

Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Arno Garrels
Wilfried, Not sure, but I think he meant this one: procedure TForm1.WSocket1DnsLookupDone(Sender: TObject; ErrCode: Word); begin if ErrCode = 0 then Memo1.Lines.AddStrings(TWSocket(Sender).DnsResultList) else if ErrCode >= 1 then Memo1.Lines.Add('Error: ' + WSocketErro

Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Ja
In fact the only thing i want is to check some domains if there are pointing to anything (so i need domain to ip). Wiadomość Oryginalna Od: Wilfried Mestdagh <[EMAIL PROTECTED]> Do: ICS support mailing Data: Wed, 4 Jan 2006 15:29:32 +0100 Temat: Re: [twsocket] WSocket DNSLookup. > Hell

Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Ja
Yes i meant that but... if the error occures i need to know with what domain. > procedure TForm1.WSocket1DnsLookupDone(Sender: TObject; ErrCode: Word); > begin > if ErrCode = 0 then > Memo1.Lines.AddStrings(TWSocket(Sender).DnsResultList) > else > Memo1.Lines.Add(': Unkno

Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Arno Garrels
Ja wrote: > Yes i meant that but... if the error occures i need to know with > what domain. > >> procedure TForm1.WSocket1DnsLookupDone(Sender: TObject; ErrCode: Word); >> begin >> if ErrCode = 0 then >> Memo1.Lines.AddStrings(TWSocket(Sender).DnsResultList) >> else >> Memo

Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Wilfried Mestdagh
Hello Ja, > But dont know how to get the domain_name that just have been looked > up. TWSocket(Sender).addr is empty. Sorry I mistundertood your question. Thanks Arno for clarifying. TWSocket.Addr is not used for the DNSLookup, so you can put the domain in there. --- Rgds, Wilfried [TeamICS] htt

Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Ja
Program check list of domains with several components at once... putting something in woudldnt do the job. Wiadomość Oryginalna Od: Arno Garrels <[EMAIL PROTECTED]> Do: ICS support mailing Data: Wed, 4 Jan 2006 16:38:51 +0100 Temat: Re: [twsocket] WSocket DNSLookup. > Ja wrote: > > Ye

[twsocket] Client and Server at same time?

2006-01-04 Thread Michael Preslar
Hello.. I'm working on a program that could be either a client and/or a server at the same time. Well, wanting to work on it. Going by the ICS examples, I've put together some code that should work. I have a: type TClient = class(TObject) Peer : String; Socket : TWSocket; c

Re: [twsocket] Client and Server at same time?

2006-01-04 Thread KL Chin
Hi, You code not complete. You did not create the socket. socket := TWScoket.Create( ); constructor TClient.Create; begin inherited; (* This part crashes *) sock socket.OnDataAvailable := SocketDataAvailable; socket.OnSessionClosed := SocketSessionClosed; end; -Original Mess

Re: [twsocket] Client and Server at same time?

2006-01-04 Thread Michael Preslar
Good catch. Now it crashes in WSocket.pas at the "end;" of procedure TCustomWSocket.TriggerSessionAvailable(Error : Word); KL Chin wrote: > Hi, > > You code not complete. You did not create the socket. > >socket := TWScoket.Create( ); > > > constructor TClient.Create; > begin > inher

Re: [twsocket] Client and Server at same time?

2006-01-04 Thread KL Chin
Hi, IMHO it will be better for you to do a copy and paste method by drop TWScocket component to your main form, then prepare all the required events, then copy/move the code to the TClient. Regards KL Chin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of M

[twsocket] Failed installing MidWare

2006-01-04 Thread Patrick Wong
Dear all, When attempted to install the MidWare package, BCB failed to compile the RFormat.pas with the following errors: [Pascal Error] RFormat.pas(2003): Undeclared identifier: 'VarArrayDimCount' [Pascal Error] RFormat.pas(2017): Undeclared identifier: 'VarArrayLowBound' [Pascal Error] RFormat

[twsocket] Failed installing MidWare

2006-01-04 Thread Patrick Wong
Sorry for mis-posting here, before I found the mail list specifically for MidWare. Posts there helped me to solve the problem. Thanks and regards, Patrick-- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our web