Re: [twsocket] httpcli v6 "bad request"

2007-04-18 Thread Francois PIETTE
Hello Frans, I'm back from vacation and see your messages. Do you have a reproductible case that I could try easily ? -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Frans van Daalen" <[E

Re: [twsocket] Client close exception and connection doubt

2007-04-18 Thread Francois PIETTE
> This looks like there is no free non-paged memory. I dont know if there > are TIME_WAIT sockets if no connection to host is possible. Using NetStat command line utility can show sockets in TIME_WAIT. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED]

[twsocket] Special thanks for Arno and Wilfried

2007-04-18 Thread Francois PIETTE
Hi All ! I'm back from a few days vacation and I would like to thanks Arno and Wilfried for having answered so many questions during those days. The fully showed their excellent expertize about ICS component. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL P

[twsocket] Mailing list usage

2007-04-18 Thread Francois PIETTE
To all subscribers: 1) Please do not use HTML or RTF messages in the list. Use only plain/text messages (by default Outlook uses HTML ! You must change the setting). When replying, be sure to use plain/text. If someone email to list accidently NOT in plain text and if you reply to it,

[twsocket] ICS registration

2007-04-18 Thread Francois PIETTE
As you subscribed to ICS support mailing list, you probably use ICS. Good ! But have you taken time to register your ICS copy ? ICS is freeware but to use it, you must register it. Registration is very simple: just mail a [real, paper] picture postcard to the author (me). You can find instruction

[twsocket] Mailing list usage

2007-04-18 Thread Francois PIETTE
To all subscribers: 1) Please do not use HTML or RTF messages in the list. Use only plain/text messages (by default Outlook uses HTML ! You must change the setting). When replying, be sure to use plain/text. If someone email to list accidently NOT in plain text and if you reply to it,

[twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ (V6 for Delphi7)

2007-04-18 Thread Patrick Schmidt - STEP Software GmbH
STEP My FTP-Client send a "LIST" which is not handled correctly. After the "LIST" it takes about 2 minutes until the error is displayed and after that the client gets the direcory listing. See log-file: 192.168.200.167 connected Client-Command: USER MA Answer to client: 331 Password required for

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ (V6 forDelphi7)

2007-04-18 Thread Fastream Technologies
Try the passive mode. Regards, SZ - Original Message - From: "Patrick Schmidt - STEP Software GmbH" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 18, 2007 5:08 PM Subject: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ (V6 forDelphi7) > STEP > My FTP-Client send a "LIST

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ (V6forDelphi7)

2007-04-18 Thread Patrick Schmidt - STEP Software GmbH
Passive mode is not possible, my client is a (Hardware-)Lighting-console. The only options to configure in console are: IP, user, pw and a directory best regards Patrick Schmidt - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wedne

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ (V6 forDelphi7)

2007-04-18 Thread Francois PIETTE
> My FTP-Client send a "LIST" which is not handled correctly. After the > "LIST" > it takes about 2 minutes until the error is displayed and after that the > client > gets the direcory listing. > Answer to client: 550 'F:\PROJ\grandMA ftp\slp': can't create directory. You are creating a director

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ(V6forDelphi7)

2007-04-18 Thread Fastream Technologies
Remove firewalls and put the client/server in DMZ then. You really have no other choice. Regards, SZ - Original Message - From: "Patrick Schmidt - STEP Software GmbH" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, April 18, 2007 5:24 PM Subject: Re: [twsocket] 501 Cann

[twsocket] OnDataAvailable

2007-04-18 Thread Jonathan Dumaresq
Hi, I would like to know if this is normal to have the event OnDataAvailable trigger and get a RcvdCount = 0 ? I'm using tcp socket with twsocket. i'm on bcb 2006. regards Jonathan -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/li

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ(V6forDelphi7)

2007-04-18 Thread Francois PIETTE
>> Try the passive mode. > Passive mode is not possible, my client is a (Hardware-)Lighting-console. > The only options to configure in console are: IP, user, pw and a directory I don't understand. You write your client using Delphi and ICS components. There is no parameter needed to use passive

Re: [twsocket] OnDataAvailable

2007-04-18 Thread Angus Robertson - Magenta Systems Ltd
> I would like to know if this is normal to have the event > OnDataAvailable trigger and get a RcvdCount = 0 ? 0 length can happen, you must allow for it. Also -1 which means an error, which you can get from LastError and convert to ASCII with WSocketErrorDesc. Angus -- To unsubscribe or ch

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ(V6forDelphi7)

2007-04-18 Thread Arno Garrels
Patrick Schmidt - STEP Software GmbH wrote: > Passive mode is not possible, my client is a (Hardware-)Lighting- > console. The only options to > configure in console are: IP, user, pw and a directory Then buy a smarter router ;-) The PORT command sends the private IP of the client which has to be

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ (V6forDelphi7)

2007-04-18 Thread Patrick Schmidt - STEP Software GmbH
> Later you change to that directory and request a dir list. The server > somewhat hang creating the directory list. After 2 minutes the connection > is > closed (probably an inactivity timeout at server side). After this time (and error-message) the client gets the list and loads every file in t

Re: [twsocket] 501 Cannot RETR. Error - Socket withicsFtpServ(V6forDelphi7)

2007-04-18 Thread Patrick Schmidt - STEP Software GmbH
> I don't understand. You write your client using Delphi and ICS components. No, i only write a Server with icsFtpSrv - component. The client is a (Hardware-)Lighting-console i bought from a company ( www.malighting.com ) best regards Patrick Schmidt - Original Message - From: "Francois

Re: [twsocket] 501 Cannot RETR. Error - Socket withicsFtpServ(V6forDelphi7)

2007-04-18 Thread Patrick Schmidt - STEP Software GmbH
> Then buy a smarter router ;-) The PORT command sends the private > IP of the client which has to be patched to the plublic IP by the > the router. Modern routers (even some cheep ones) can do that. The Lighting-Console (Client) and my FTP Server are in a LAN only connected by a switch, no firew

[twsocket] Unique Handle of a connection with TWSocketClient

2007-04-18 Thread b-t-o
Hi, our mailserver was down for 1 day. I think I missed your answer of my question. Can you post it again? Thanks, Marc --- Weitergeleitete Nachricht / Forwarded message --- Hi, I want to write a small proxy-server. I use the tcpserver-example with a few changes. With TWSocketServer

Re: [twsocket] Unique Handle of a connection with TWSocketClient

2007-04-18 Thread Fastream Technologies
Hello, FYI, elists.org has an archive. Regards, SZ - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, April 18, 2007 7:02 PM Subject: [twsocket] Unique Handle of a connection with TWSocketClient > Hi, > > our mailserver was down for 1 day. I think I missed your answ

Re: [twsocket] OnDataAvailable

2007-04-18 Thread Wilfried Mestdagh
Hello Jonathan, Yes RcvdCount is not reliable according to Microsoft. You should try to receive anyway and check the returned Count value from the Receive method. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Wednesday, April 18, 2007, 16:3

Re: [twsocket] httpcli v6 "bad request"

2007-04-18 Thread Frans van Daalen
Francois, The website and page that is the cause of this problem is rather hard to get to. I'm trying to create a simial problem on one of the website I have myself. As soon as I have done that I will let you know. I have solved it for now by with httpClient.FPath := stringreplace(httpclient.

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ(V6forDelphi7)

2007-04-18 Thread Arno Garrels
Patrick Schmidt - STEP Software GmbH wrote: >> Later you change to that directory and request a dir list. The server >> somewhat hang creating the directory list. After 2 minutes the >> connection is >> closed (probably an inactivity timeout at server side). > After this time (and error-message) th

Re: [twsocket] OnDataAvailable

2007-04-18 Thread Francois PIETTE
> I would like to know if this is normal to have the event OnDataAvailable > trigger > and get a RcvdCount = 0 ? Yes, it is normal. Some article in MSDN expalin that RcvdCount (at least the API behind it) is not always reliable. The best strategy in your OnDataAvailable even is to always call R

Re: [twsocket] httpcli v6 "bad request"

2007-04-18 Thread Frans van Daalen
Francois, I constructed a 301 page for you at www.hedaal.nl/tmp/fromhere.asp If you use IE this link will relocate you to http://www.hedaal.nl/tmp/to%20here.html If you use OverbyteIcsHttpTst it will give you a 400 because of the space in "to here.html" The asp code for the fromhere.asp is -

Re: [twsocket] OnDataAvailable

2007-04-18 Thread Francois PIETTE
>> I would like to know if this is normal to have the event >> OnDataAvailable trigger and get a RcvdCount = 0 ? > > 0 length can happen, you must allow for it. Be aware that having RcvdCount = 0 is a different issue than having Receive returning 0. > Also -1 which means an error, which you can