Re: [twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
I also did not understand why you made USE_NTLM_AUTH deifne! I do not like defines much as they decrease the readability of the code! Let's remove it IMO. All the browsers support NTLM now and it should be a property's job to select which AUTH_TYPE to use. Regards, SZ - Original Message

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, September 12, 2006 7:27 PM Subject: Re: [twsocket] Simple NTLM question : Fastream Technologies wrote: : > - Original Message - : > From: "Arno Garrels" <[EMAIL PROTECTED]> : >

Re: [twsocket] Ping stopped working - in fact kills the program first!

2006-09-12 Thread Jeff Cook
Meanwhile a workaround ... I have disconnected the event and connect it programmatically like this as required:- Ping.OnDnsLookupDone := PingDnsLookupDone; try . . . finally . . . Ping.OnDnsLookupDone := nil; end; This works fine - very weird! Cheers Jeff

[twsocket] Ping stopped working - in fact kills the program first!

2006-09-12 Thread Jeff Cook
Hi I have been making some program changes in the same module as a Ping procedure. On creating the module I now get an error:- Exception EReadError in ... Error reading Ping.OnDnsLookupDone: Invalid property value. In the .dfm module the Ping looks like this :- object Ping: TPing Si

Re: [twsocket] bytes lost with PUT FTP

2006-09-12 Thread Dan
Possibly a transfer mode error. Make sure you are transferring in binary mode. Note: I think you need to set a property to make the client component not modify end of lines AND send the binary command to the server. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [twsocket] bytes lost with PUT FTP

2006-09-12 Thread Francois PIETTE
One very common programming error which could create file corruption is to call the message pump directly or indirectly from one of the ICS component event handler. Would be interesting to compare received file and sent file. Are the files always corrupted in the same way or is there some random

[twsocket] bytes lost with PUT FTP

2006-09-12 Thread Arnold FLUTEAUX
Hi I've a problem with FTP client component. I'm using with .NET. I want to put a file with small size (equal to 12 kb for example). It's ok in LAN but doesn't in RAS connexion. I lost bytes. With my sample file, I upload only 8760 BYTES on 11 kb. I'm using the component with putasync method. H

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Arno Garrels
Fastream Technologies wrote: > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Tuesday, September 12, 2006 6:22 PM > Subject: Re: [twsocket] Simple NTLM question > > >> Fastream Technologies wrote: >>> Here is my problem: Let's say I ha

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, September 12, 2006 6:22 PM Subject: Re: [twsocket] Simple NTLM question : Fastream Technologies wrote: : > Here is my problem: Let's say I have two domains to let whose members : > to

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Arno Garrels
Fastream Technologies wrote: > Here is my problem: Let's say I have two domains to let whose members > to authenticate: > > LOCALHOST > FASTREAM > > Now, what if the end user enters some domain in the dialog box that is > equivalent to one of these but with a different alias?? I have no idea how

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
Here is my problem: Let's say I have two domains to let whose members to authenticate: LOCALHOST FASTREAM Now, what if the end user enters some domain in the dialog box that is equivalent to one of these but with a different alias?? Best Regards, SZ - Original Message - From: "Arno

Re: [twsocket] Aborting transfers without AbortXfer?

2006-09-12 Thread Arno Garrels
Daniel Eriksson wrote: >> Have you tried calling Abort on the data connection? > Do you mean like this? > > AFtpClient.DataSocket.Abort; > while AFtpClient.State <> ftpReady do > begin > Delay(1); > end; > > (note: Delay() is an improved version of Sleep() that I'm using). That's ba

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
No that is not an option for us. We want to prevent the authentication process when the domain entered by the client is not in our list of permitted domains. I think I wrote this to you privately last week. Best Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]>

Re: [twsocket] Aborting transfers without AbortXfer?

2006-09-12 Thread Daniel Eriksson
> > Message: 1 > Date: Tue, 12 Sep 2006 13:00:09 +0200 > From: "Arno Garrels" <[EMAIL PROTECTED]> > Subject: Re: [twsocket] Aborting transfers without AbortXfer? > To: "ICS support mailing" > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Daniel Eriksson w

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Arno Garrels
Arno Garrels wrote: > Fastream Technologies wrote: >> One other question: how do we authenticate against the local system >> acounts when there is no NT-domain controller? Like "localhost" in IP >> for example? > > Field Domain may be empty, contain a single dot ".", the computer > name, DNS hostn

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Arno Garrels
Fastream Technologies wrote: > One other question: how do we authenticate against the local system > acounts when there is no NT-domain controller? Like "localhost" in IP > for example? Field Domain may be empty, contain a single dot ".", the computer name, DNS hostname?, the IP address or "Local

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Francois Piette
> One other question: how do we authenticate against > the local system acounts when there is no NT-domain > controller? Like "localhost" in IP for example? Use the local computer name as domain name. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED]

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
One other question: how do we authenticate against the local system acounts when there is no NT-domain controller? Like "localhost" in IP for example? Best Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, September 12,

[twsocket] OverByte webserver is temporary out of use

2006-09-12 Thread Francois Piette
OverByte webserver is temporary out of use. It will be up and running correctly as soon as possible. Actually the static pages are still serviced but scripts are not executed properly. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework,

Re: [twsocket] Aborting transfers without AbortXfer?

2006-09-12 Thread Arno Garrels
Daniel Eriksson wrote: > What is the best and safest way to abort a transfer without closing > the connection? I've tried the AbortXfer command but that doesn't work > because the ABOR command is not available on the server I'm using. Have you tried calling Abort on the data connection? --- Arno

Re: [twsocket] Aborting transfers without AbortXfer?

2006-09-12 Thread Francois Piette
> What is the best and safest way to abort a transfer > without closing the connection? Are you talking about FTP client component ? > I've tried the AbortXfer command but that doesn't work > because the ABOR command is not available on the server I'm using. Then you have to close the connect

Re: [twsocket] THttpSrv slight modification to functionExtractURLEncodedValue

2006-09-12 Thread Francois Piette
Thanks for your feedback. This change would break existing code. So it can't be implemented as is. The correct way is to implement another function which does this work. It could be an overloaded version taking a TStrings instead of a string. Contribute to the SSL Effort. Visit http://www.overbyte

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
Ok. That's what I assumed. Thanks. - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, September 12, 2006 2:00 PM Subject: Re: [twsocket] Simple NTLM question : Fastream Technologies wrote: : > Hello Arno, : > : > I wonder if the NT

Re: [twsocket] Simple NTLM question

2006-09-12 Thread Arno Garrels
Fastream Technologies wrote: > Hello Arno, > > I wonder if the NTLM domain names are case-sensitive or not? I think they are not case-sensitive. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list pl

[twsocket] THttpSrv slight modification to function ExtractURLEncodedValue

2006-09-12 Thread Busai Péter
Hi! In one of my html forms I had to use html element " #0 do begin Q := P; while (P^ <> #0) and (P^ <> '=') do Inc(P); FoundLen := P - Q; {tps} if P^ = '=' then Inc(P); if (StrLIComp(Q, @Name[1], NameLen) = 0) and (NameLen = Found

[twsocket] Aborting transfers without AbortXfer?

2006-09-12 Thread Daniel Eriksson
What is the best and safest way to abort a transfer without closing the connection? I've tried the AbortXfer command but that doesn't work because the ABOR command is not available on the server I'm using. /Daniel -- To unsubscribe or change your settings for TWSocket mailing list please goto h

[twsocket] Simple NTLM question

2006-09-12 Thread Fastream Technologies
Hello Arno, I wonder if the NTLM domain names are case-sensitive or not? Thank you for your hard work. Working on integration these days... Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our