Re: [twsocket] Help with SMTP Settings [new user]

2012-03-14 Thread Arno Garrels
Robert Baker wrote: I just downloaded and successfully installed [ Download ICS-V7 Distribution (October, 2010) ] Support all Delphi 7 to Delphi XE and BCB version 2006 to XE This is a rather old version, current versions are downloadable here:

Re: [twsocket] Help with stalling ftp client

2012-02-01 Thread Info2004
Hi, Some additional information after hooking up wireshark. I have attached a csv of the capture. What it shows me is that I get the 150 from the server, I then send an ACK, but I don't send the FTP-DATA. Then of course, I don't see the request done event, because I have not sent the data.

Re: [twsocket] Help with stalling ftp client - attachment contents

2012-02-01 Thread Info2004
Attachment did not work so here it is: (ahh, can't stop thunderbird wrapping - sorry) No. TimeSource Destination Protocol Length Info 190 10.344855 192.168.1.3165.212.180.79 FTP 72 Request: PASV 191 10.524256 65.212.180.79

Re: [twsocket] Help with stalling ftp client

2012-02-01 Thread Arno Garrels
Info2004 wrote: Hi, Some additional information after hooking up wireshark. I have attached a csv of the capture. The list server stripped the attachment, please upload the file to some webserver and post the URL here. What it shows me is that I get the 150 from the server, Now V7.11

Re: [twsocket] Help with stalling ftp client

2012-02-01 Thread Info2004
Arno, Thanks. I will check that out. If it persists, I will do as advised and upload the file and post a link. Regards, Andy On 01/02/2012 17:00, Arno Garrels wrote: Info2004 wrote: Hi, Some additional information after hooking up wireshark. I have attached a csv of the capture. The

Re: [twsocket] Help with stalling ftp client

2012-01-31 Thread Arno Garrels
Info2004 wrote: PASV 227 Entering Passive Mode (65,212,180,79,238,1) ! Upload Size 91 STOR 17012012_1319010_leeEcersley.csv /debug I guess the server did not send a response to the STOR request after the client successfully established the data connection. Since this is async mode your

Re: [twsocket] Help with stalling ftp client

2012-01-31 Thread Info2004
On 31/01/2012 17:41, Arno Garrels wrote: I guess the server did not send a response to the STOR request after the client successfully established the data connection. Since this is async mode your application should have detected and handled a request timeout. Arno, What is the correct way

Re: [twsocket] Help with stalling ftp client

2012-01-31 Thread Info2004
On 31/01/2012 19:05, Brian Culverwell wrote: probably your backend ftp server has been changed to 'binary' type - and when receiving your request to STOR the .csv file - it is issuing a type A to change the mode to ASCII You could force the Type A before issuing your STOR. Brian, Do you

Re: [twsocket] Help with stalling ftp client

2012-01-31 Thread Brian Culverwell
before each STOR On Wed, Feb 1, 2012 at 6:27 AM, Info2004 info2...@asamicros.com wrote: On 31/01/2012 19:05, Brian Culverwell wrote: probably your backend ftp server has been changed to 'binary' type - and when receiving your request to STOR the .csv file - it is issuing a type A to change

Re: [twsocket] Help with stalling ftp client

2012-01-31 Thread Info2004
OK. Thanks. On 31/01/2012 21:46, Brian Culverwell wrote: before each STOR On Wed, Feb 1, 2012 at 6:27 AM, Info2004info2...@asamicros.com wrote: On 31/01/2012 19:05, Brian Culverwell wrote: probably your backend ftp server has been changed to 'binary' type - and when receiving your

Re: [twsocket] Help with stalling ftp client

2012-01-31 Thread Arno Garrels
Info2004 wrote: On 31/01/2012 17:41, Arno Garrels wrote: I guess the server did not send a response to the STOR request after the client successfully established the data connection. Since this is async mode your application should have detected and handled a request timeout. Arno,

Re: [twsocket] Help with stalling ftp client

2012-01-31 Thread Arno Garrels
Brian Culverwell wrote: probably your backend ftp server has been changed to 'binary' type - and when receiving your request to STOR the .csv file - it is issuing a type A to change the mode to ASCII A server doesn't issue commands, regardless of which type is active the upload should

Re: [twsocket] Help needed with TWSocket descendant with backgroundthread message loop

2012-01-30 Thread Arno Garrels
Robert, You have to check for Msg.hwnd = 0 otherwise your custom message IDs will probably conflict which TWSocket's own messages like: while GetMessage(MsgRec, 0, 0, 0) do begin if MsgRec.hwnd = 0 then {== ** VERY IMPORTANT ** } begin Handle messages posted to this thread through

Re: [twsocket] Help - THttpServer and PUT

2012-01-24 Thread Arno Garrels
Kamil Pavel Skála wrote: Hi, i test the ics komponent and creating RESTful service, but have problem with implementing unimplemented request PUT. I handled PUT and DELETE in the OnUnknownRequest, bud where is data sending by client via PUT method? Any samples or documentation? PUT

Re: [twsocket] Help - THttpServer and PUT

2012-01-24 Thread Arno Garrels
Arno Garrels wrote: Kamil Pavel Skála wrote: Hi, i test the ics komponent and creating RESTful service, but have problem with implementing unimplemented request PUT. I handled PUT and DELETE in the OnUnknownRequest, bud where is data sending by client via PUT method? Any samples or

Re: [twsocket] help on httpcli post

2010-10-12 Thread Francois PIETTE
I try to include http get and post to my program and doing tests on OverbyteIcshttptst demo. I get function GET work but not with function POST. I configured at home free HFS - HTTP File Server from http://www.rejetto.com/hfs/ When running demo I set URL =

Re: [twsocket] help on httpcli post

2010-10-12 Thread Xavier Mor-Mur
Hello Francois As I know HFS have a some kind of code but I don't know how to call it from client. Open on your navigator http://81.184.21.22:100/hfs/; and will see a very easy web page with list of files with two buttons UPLOAD and LOGIN. Upload button allow select up to 10 files and then

Re: [twsocket] help on httpcli post

2010-10-12 Thread Frans van Daalen
=Upload+files this will upload a file (test.txt) from the desktop of user XX to the server - Original Message - From: Xavier Mor-Mur xmor...@telepolis.com To: ICS support mailing twsocket@elists.org Sent: Tuesday, October 12, 2010 1:23 PM Subject: Re: [twsocket] help on httpcli

Re: [twsocket] help on httpcli post

2010-10-12 Thread Francois PIETTE
As I know HFS have a some kind of code but I don't know how to call it from client. Open on your navigator http:// 81.184.21.22 :100/hfs/ and will see a very easy web page with list of files with two buttons UPLOAD and LOGIN. Upload button allow select up to 10 files and then upload it using

Re: [twsocket] help on httpcli post

2010-10-12 Thread Xavier Mor-Mur
Thanks Francois and Frans I will take look. May need is the most basic use of http get/post. Sporadically and need send files to servers for which I don't have any support/control. Some of them have ftp support, no problem with ICS, but troubles I come with http protocol. I'm a permanent

Re: [twsocket] help on httpcli post

2010-10-12 Thread RTT
Here is a sample that work. Get the 'multipart/form-data' encode tstream class code from this unit: http://read.pudn.com/downloads116/sourcecode/internet/495621/Gz235_200671623235689/cn700_del549790557/IndyMultipartFormData/MsMultiPartFormData.pas__.htm Start a new Delphi application, and in

Re: [twsocket] help on httpcli post

2010-10-12 Thread Xavier Mor-Mur
Hi RTT Thanks for sample. I play with it in few minutes. I read many off post even when are out of my programing knowledge, give me ideas how to do better my programs. Thanks again to all ICS folks. Xavi Al 12/10/2010 18:55, En/na RTT ha escrit: Here is a sample that work. Get the

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-29 Thread Arno Garrels
Xavier Mor-Mur wrote: String usStr; (or UnicodeString usStr;) AnsiString asStr; usStr = URLDEcode( Sin%20t%C3%ADtulo%201_html_m5b7e3440.jpg ); asStr = usStr; --- Compiler introduce required conversion code using asStr = UTF8Decode( usStr ); or asSTR = UTF8Decode( URLDEcode(

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-29 Thread Xavier Mor-Mur
Hi RTT Yes I use UrlDecode from OverbyteIcsUrl.hpp with defaults SrcCodePage and DetectUtf8. Alternative, I not found other, was include Indy component but using ICS I think isn't unnecessary. I will check using no default parameters. Thanks again Xavi Al 29/04/2010 03:16, En/na RTT ha

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-29 Thread Xavier Mor-Mur
Hello Arno Thanks your comments. I need update my head from ansi to unicode :-) Should not be problem, or that I think, converting unicode encoded files to ansi. as all files will created on local network. I will read a bit more about differences between UTF8String and UnicodeString, help from

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread Matt Minnis
The %## codes are representations of the character. It looks like a URL encoding scheme to me. For example: %20 is the space character. The %C3%AD looks to be the letter i with the accent. Run it though a URL Decoder and see if that doesn’t get you what you are looking for? Matt -Original

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread Xavier Mor-Mur
Thanks for the tip. I tried it with no success. URLEncode and URLDecode work apparently byte a byte and %C3%AD are converted as individual chars. UTF8Encode and UTF8Decode I don't get it work. certainly I'm doing something wrong. Regards Xavi Al 28/04/2010 22:36, En/na Matt Minnis ha escrit:

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread Matt Minnis
-Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Xavier Mor-Mur Sent: Wednesday, April 28, 2010 15:53 To: ICS support mailing Subject: Re: [twsocket] help to convert from utf8 to ansi (locale) Thanks for the tip. I tried it with no success

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread Xavier Mor-Mur
I'll will work on it as I need to solve. Situation exposed is a test after report program was not working properly. As I detected MS-Word encode partially and OpenOffice encode fully. Regards Al 28/04/2010 23:41, En/na Matt Minnis ha escrit: Al 28/04/2010 22:36, En/na Matt Minnis ha escrit:

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread RTT
. I'm sure we'll run across needing something like that at some point... Matt -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Xavier Mor-Mur Sent: Wednesday, April 28, 2010 15:53 To: ICS support mailing Subject: Re: [twsocket] help

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread RTT
Obviously what works fine is the sequence of decode transformations on your encoded filename, not in the already decoded string as I posted. Sorry. This is the correct example: UTF8Decode(URLDEcode('Sin%20t%C3%ADtulo%201_html_m5b7e3440.jpg')); This seems to work fine UTF8Decode(URLDecode('Sin

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread Xavier Mor-Mur
Hi RTT Thanks for your tips. Finally I get it work but I should write code a bit different String usStr; (or UnicodeString usStr;) AnsiString asStr; usStr = URLDEcode( Sin%20t%C3%ADtulo%201_html_m5b7e3440.jpg ); asStr = usStr; --- Compiler introduce required conversion code using asStr

Re: [twsocket] help to convert from utf8 to ansi (locale)

2010-04-28 Thread RTT
Hi Xavier, The UTF8Decode is being performed automatically probably because you are using the UrlDecode function from OverbyteIcsHttpSrv. If you check its definition, function UrlDecode(const Url: string; SrcCodePage: LongWord = CP_ACP; DetectUtf8: Boolean = TRUE): string; there is a,

Re: [twsocket] Help on installing ICS

2009-10-09 Thread Arno Garrels
John Barrat wrote: Can you help? cannot resolve the unit name WSocket. Unit WSocket does not exist in both ICS V6 and V7, obviously you are trying to compile an old V5 project. To convert the old project first rename all ICS unit names in the uses clause to OverbyteIcsold name. In most cases

Re: [twsocket] Help please with HttpCli

2009-01-17 Thread Francois PIETTE
I am just starting to use ICS and having problems with the demos. My problem is with the HttpGet demo program. All works ok if the target Url domain is ok and the file exists on the site, but if I make the filename invalid by adding a letter, I get an Exception thrown in Delphi. Similar

Re: [twsocket] Help with re-install simply WSocket?

2007-08-20 Thread Arno Garrels
TK Boyd wrote: Cannot assign to read only property ... when it hits FLogFile.Size:=0 ... in ICSLogger. Yes, seems to be read only in D2, since D3 Size is read/write. Eather try to change this line to FLogFile.Position := 0 (not sure whether that would work the same) or define

Re: [twsocket] Help with re-install simply WSocket?

2007-08-19 Thread TK Boyd
Aug 2007 at 19:08, Francois PIETTE wrote: From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Date sent: Sun, 12 Aug 2007 19:08:00 +0200 Subject:Re: [twsocket] Help with re-install simply WSocket

Re: [twsocket] Help with re-install simply WSocket?

2007-08-13 Thread Francois PIETTE
Assignable Typed Constants This is the correct option. ... but I could only get into that when I had a project open. I don't remember very well D2, but the options for the library are for sure stored somewhere. If not, you can add in the offending source a compile time directive {$J+}.

Re: [twsocket] Help with re-install simply WSocket?

2007-08-12 Thread TK Boyd
: Sun, 12 Aug 2007 19:08:00 +0200 Subject:Re: [twsocket] Help with re-install simply WSocket? Send reply to: ICS support mailing twsocket@elists.org mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] You have to change the options to have writable const

Re: [twsocket] Help in understanding Web Service

2007-02-05 Thread mike
using Builder 5 just to let you know. Thanks Mike -Original Message- From: Francois PIETTE [EMAIL PROTECTED] Sent: Feb 4, 2007 10:10 AM To: ICS support mailing twsocket@elists.org Subject: Re: [twsocket] Help in understanding Web Service You probably have a problem with your ICS

Re: [twsocket] Help in understanding Web Service

2007-02-04 Thread mike
Hello, Well I have studied the webserv example more and seem to have a bit better understanding of what is happening, however I have some additional questions which I hope someone could answer for me. 1- In the sample, if a request comes in to send to the browser a web page indicated as

Re: [twsocket] Help in understanding Web Service

2007-02-04 Thread Francois PIETTE
04, 2007 2:08 PM Subject: Re: [twsocket] Help in understanding Web Service Hello, Well I have studied the webserv example more and seem to have a bit better understanding of what is happening, however I have some additional questions which I hope someone could answer for me. 1

Re: [twsocket] Help in understanding Web Service

2007-02-04 Thread mike
using Builder 5 just to let you know. Thanks Mike -Original Message- From: Francois PIETTE [EMAIL PROTECTED] Sent: Feb 4, 2007 10:10 AM To: ICS support mailing twsocket@elists.org Subject: Re: [twsocket] Help in understanding Web Service You probably have a problem with your ICS

Re: [twsocket] Help in understanding Web Service

2007-02-03 Thread bevan
Hi Mike, I have a need to create a Web Server to answer requests from web browsers. So I have tried the WebServ example but I am not sure how to send requests to it. Here is what I tried; 1- Ran the application on my windows XP machine and when I tried to start the service on port 80 I

Re: [twsocket] Help in understanding Web Service

2007-02-03 Thread mike
Bevan, Thank you. Ah, yes you are correct. To many late nights!!! Mike -Original Message- From: [EMAIL PROTECTED] Sent: Feb 3, 2007 9:06 PM To: twsocket@elists.org Subject: Re: [twsocket] Help in understanding Web Service Hi Mike, I have a need to create a Web Server

Re: [twsocket] Help on ICS's HTTP client component

2006-11-11 Thread Francois PIETTE
So that's the end of it. It's the server that's causing my troubles... Good to know. Is it worth using different time-out's for different stages of connection? Ex: use a long timeout for DNS queryes, use shorter timeout for the connection itself, use long timeouts for data transmission

Re: [twsocket] Help on ICS's HTTP client component

2006-11-10 Thread Francois Piette
I did implement a kind of time-out mechanism into my download thing: if no event is triggered for a given amount (no state change, no data received, no error) I consider the connection to be timed out. This gets my application back on the track working properly but this feels like a hack, it

Re: [twsocket] Help

2006-06-18 Thread Wilfried Mestdagh
Hello Jock, Please use appropriatic subject. Many people will not even read a subject without a given content ! My program and the demo program work, as long as I do not send the attachment file. You dont tell what the problem is. Since you say you get an error after clicking Abort I assume

Re: [twsocket] Help with SmtpCli

2006-06-18 Thread Arno Garrels
If I understand you correctly transfer hangs. Are you sure that you pasted the last log lines, wasn't there a line .? Have you tried another SMTP server yet? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Jock Terry wrote: I have a application that uses ics

Re: [twsocket] Help file for FTPClient

2006-06-02 Thread Borosnyay Péter
Why not make it compatible with RFC959 and return the correct response for the commands ? Because we are in a hurry, and the colleague who wrote the microcontroller program didn't check the RFC, just picked a code whose description was best matching the situation. It is definitely an error. I

Re: [twsocket] Help file for FTPClient

2006-06-01 Thread Borosnyay Péter
Hi guys, ICS is professional. At least its FtpCLient is. Absolutely logical structure and functionality. I have successfully modified FtpCli.pas to accept response code 225 for STOR and RETR. It was easy to find the corresponding Next2PutAsync and Next2GetAsync procedures. This was needed

Re: [twsocket] Help file for FTPClient

2006-06-01 Thread Francois PIETTE
/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Borosnyay Péter [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, June 01, 2006 5:26 PM Subject: Re: [twsocket] Help file for FTPClient Hi guys, ICS is professional

Re: [twsocket] Help file for FTPClient

2006-05-30 Thread Francois Piette
I couldn't find help files for FTPClient (I mean the descriptions of properties, events and methods) neither in the package, nor on overbyte.be and in the faq. Help is probably not available yet. Am I right ? Almost. See the source code (component and sample program). You'll find valuable

Re: [twsocket] Help file for FTPClient

2006-05-30 Thread Borosnyay Péter
Hello Wilfried, I dl'ed ICS today morning so I'm not in the position to help yet ... But I will experiment with it this week, it has a good chance of being the final component I choose for my communications program in our GPS navigation system at the local transport company of the second

Re: [twsocket] Help file for FTPClient

2006-05-30 Thread Wilfried Mestdagh
Hello Peter, being the final component I choose for my communications program Good I hope you succeed ! If you have any questions you can fire this off in this mailing list. Lots of people are volonteer to standby... At least I plan to do so. Keep in touch :) --- Rgds, Wilfried [TeamICS]

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Francois PIETTE
do i have to do like : ClientCnx.AnswerStream(correctparameters); ClientCnx.Docstream:=ResultStream; ClientCnx.SendStream; Forget anbout the two last lines ! Have a look at THttpConnection.AnswerStream and you'll understand. -- Contribute to the SSL Effort. Visit

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Guillaume MAISON
Francois PIETTE a écrit : do i have to do like : ClientCnx.AnswerStream(correctparameters); ClientCnx.Docstream:=ResultStream; ClientCnx.SendStream; Forget anbout the two last lines ! Have a look at THttpConnection.AnswerStream and you'll understand. Yop ! it works ! Thanks a lot François

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Francois PIETTE
do i have to do like : ClientCnx.AnswerStream(correctparameters); ClientCnx.Docstream:=ResultStream; ClientCnx.SendStream; Forget anbout the two last lines ! Have a look at THttpConnection.AnswerStream and you'll understand. Yop ! it works ! Thanks a lot François ! I don't know your

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Guillaume MAISON
Francois PIETTE a écrit : Yop ! it works ! Thanks a lot François ! I don't know your application, but maybe the template feature would be interesting for you. It is very powerful. For a demo, see TWebServForm.CreateVirtualDocument_Template. The principle is simple: you prvide a HTML

Re: [twsocket] Help to retrieve datetime from sntp server

2006-03-09 Thread Xavier Mor-Mur
Thanks Angus for your quick reply. I download your component and will check it. Best regards Xavier En/na Angus Robertson - Magenta Systems Ltd ha escrit: I need write o function to retrieve date-time from a timeservers. This is needed to prevent changes on date and/or time on local network

Re: [twsocket] Help to retrieve datetime from sntp server

2006-03-08 Thread Angus Robertson - Magenta Systems Ltd
I need write o function to retrieve date-time from a timeservers. This is needed to prevent changes on date and/or time on local network pc's, included local server, because I should upload/download small files which need real date time assigned. I take a look to TWSTimeClient from Chris

Re: [twsocket] [HELP] Question...

2006-02-21 Thread Guillaume MAISON
Arno Garrels a écrit : Guillaume MAISON wrote: In that case, the property SocksLevel should be initialized at the component creation with a value. Which is not the case in the source code... As i've not changed my code... Strange I don't have that problem. It is assigned default value '5'

Re: [twsocket] [HELP] Question...

2006-02-20 Thread Guillaume MAISON
Arno Garrels a écrit : Guillaume MAISON wrote: And, effectively, the NewValue is '', as i don't need it Whether to use or not to use Socks is specified via property SocksAuthentication, in your case socksNoAuthentication, property SocksLevel may not be empty. In that case, the

Re: [twsocket] [HELP] Question...

2006-02-20 Thread Arno Garrels
Guillaume MAISON wrote: Arno Garrels a écrit : Guillaume MAISON wrote: And, effectively, the NewValue is '', as i don't need it Whether to use or not to use Socks is specified via property SocksAuthentication, in your case socksNoAuthentication, property SocksLevel may not be empty.

Re: [twsocket] Help Files ?

2005-11-19 Thread Francois PIETTE
I have succesfully managed a test version with your FTP component by refering to your examples. Thank You. I have been hunting for the Help files to get a deeper insight of the components but could not find them, can you help ? There is not up to date help file available. The best help is

Re: [twsocket] [HELP] Question about starting THttpServer and TFtpServer

2005-11-09 Thread Angus Robertson - Magenta Systems Ltd
are the Start procedures, from ThttpServer and TFtpServer, blocking procedures or not ? No, they just set the server to listen for incoming sessions. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit

Re: [twsocket] Help: How do I Use the asyn. methods in a D2005 serviceapp

2005-06-23 Thread Arno Garrels
Dave wrote: I'm trying to create a service app which checks the status of 80 remote printers by accessing their web pages using the ICS HTTP Client asynchronously. I initially put the code in a GUI app to test it, then tried to move it to a service and discovered that there is no

Re: [twsocket] Help: How do I Use the asyn. methods in a D2005 service app

2005-06-23 Thread Angus Robertson - Magenta Systems Ltd
In the main execute function I just want to wait until each of the requests responds triggers the OnRequestDone event. How can I do this in a service app? The service excecute method needs a message loop added, which replaces the Application.Run method that drives an interactive

Re: [twsocket] Help: How do I Use the asyn. methods in a D2005 service app

2005-06-23 Thread Wilfried Mestdagh
Hello Dave, From the top of my head, in the TService's Execute method: while not Terminated do ServiceThread.ProcessRequests(True); There is also 1 or 2 NT service examples coming with ICS. Also you can use a normal GUI also as service. I have a little class for it you can download from my

Re: [twsocket] Help authoring tool: Time2help

2005-06-11 Thread Colin Meeks
Hi Francois I don't know anything about Time2Help, but I think Help Scribble from http://www.jgsoft.com may help.I've used it to document several components and it's pretty easy stuff. Colin On 6/11/05, Francois PIETTE [EMAIL PROTECTED] wrote: Long time ago, I used Time2help V2 to build help

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-21 Thread Arno Garrels
Guillaume MAISON wrote: The DataStream is nil at that time, try this: procedure TGetProcessingThread.Execute; var aBuf : String; i : integer; begin abuf := 'One ring to rule them all !'#13#10; Client.DataStream := TMemoryStream.Create; for i := 0 to 1000 do

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-21 Thread Guillaume MAISON
The DataStream is nil at that time, try this: procedure TGetProcessingThread.Execute; var aBuf : String; i : integer; begin abuf := 'One ring to rule them all !'#13#10; Client.DataStream := TMemoryStream.Create; for i := 0 to 1000 do

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-21 Thread Arno Garrels
Guillaume MAISON wrote: The DataStream is nil at that time, try this: procedure TGetProcessingThread.Execute; var aBuf : String; i : integer; begin abuf := 'One ring to rule them all !'#13#10; Client.DataStream := TMemoryStream.Create; for i := 0 to 1000 do

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-21 Thread Guillaume MAISON
in my application, i still have that damn RetrDataSent triggered before RetrSessionConnected... Have you tried to assign the DataStream in FtpServer1GetProcessing? DelayedSend := TRUE; MyClient.FWorkerThread.Client.DataStream := TMemoryStream.Create; MyClient.FWorkerThread.Resume;

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-21 Thread Arno Garrels
Guillaume MAISON wrote: in my application, i still have that damn RetrDataSent triggered before RetrSessionConnected... Have you tried to assign the DataStream in FtpServer1GetProcessing? DelayedSend := TRUE; MyClient.FWorkerThread.Client.DataStream := TMemoryStream.Create;

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-21 Thread Guillaume MAISON
May be, but try again to make a small demo application that shows the problem and I'm sure someone will/can help you. i've tried to redo a sample even using the SQL stuff... everything runs fine... the only thing i haven't tested yet is re writing a sample as a service... i'll do it on

Re: [twsocket] [HELP] FTP server random client deconnection

2005-05-20 Thread Guillaume MAISON
hi everyone, still working on my ftp service server. [...snip...] The exceptions are triggered because the Client used within the thread is nil. what i don't understand is why, although i set delayedsend to true, the ftp server begins to open the data connection and says the file

Re: [twsocket] [HELP] FTP Server possible bug ?

2005-05-20 Thread Arno Garrels
It's just a guess, sounds like your multithreading isn't designed well. Can you explain your thread design in your own words? Arno Garrels Guillaume MAISON wrote: Le 20 May 2005 à 16:31, Guillaume MAISON a écrit: Unless there's something obvious, i don't know why the ftpserver opens data

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Fastream Technologies
Hello Guillaume, We have an implementation of ICS FTP server within a service however it has no service GUI as its GUI is made of another process that communicates with the engine through XML/HTTP. Take a look at http://www.fastream.net/netfileserver.htm and if you want to design something

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Angus Robertson - Magenta Systems Ltd
i'm wondering about the way to implement a FTP server (with thread on GetProcessing) within a Windows Service ? Any windows GUI application can be run as a service, provided it never asks for any input from the user. I use a very simple real service that runs the windows program, and sends

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Guillaume MAISON
i'm wondering about the way to implement a FTP server (with thread on GetProcessing) within a Windows Service ? Any windows GUI application can be run as a service, provided it never asks for any input from the user. I use a very simple real service that runs the windows program, and

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Wilfried Mestdagh
Hello Guillaume, On my site you find a simple class to include in your GUI program so that the same EXE can run as normal GUI and also as NT service without any change. Advantage is that the service can make a tray icon when user log in, and if you click on it the service can popup his main

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Guillaume MAISON
Hello Guillaume, On my site you find a simple class to include in your GUI program so that the same EXE can run as normal GUI and also as NT service without any change. Advantage is that the service can make a tray icon when user log in, and if you click on it the service can popup his

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Francois PIETTE
, 2005 5:42 PM Subject: Re: [twsocket] [HELP]FTPServer within a service... i'm wondering about the way to implement a FTP server (with thread on GetProcessing) within a Windows Service ? Any windows GUI application can be run as a service, provided it never asks for any input from

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Francois PIETTE
i'm wondering about the way to implement a FTP server (with thread on GetProcessing) within a Windows Service ? Does anyone has a sample ? The is a sample service in the demos. There is nothing very special to make a service using ICS. As long as there is a working message pump, ICS component

Re: [twsocket] [HELP] FTP Server w/ client disconnection...

2005-05-16 Thread Guillaume MAISON
There are two errors in your program: 1) You forgot to assigned ClientClass property and nevertheless you are using your own class TMyClient. This error cause the AV you noticed. It also caused the casting error you noticed: // GM 16.05.2005 : below is commented else i have an object

Re: [twsocket] Help with ICS

2005-05-11 Thread Francois Piette
I use BCB 3.0. I download and instal latest version of ICS but if I try it I get error stack owerflow. It is likely that you have a function that call itself or call a second function that calls the first one. This is an endless loop which is terminated when the stack is overflowed. PS.

Re: [twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Guillaume MAISON
I would rewrite the ftp server component if I were you. It's not going to be trivial to alter the way all the paths are done with a /X:/ drive before any path. If you rewrite the directory related stuff, it shouldn't be too difficult to do what you want. I did a similar thing when doing a

Re: [twsocket] [HELP] FtpServer : Long Process HOWTO

2005-04-28 Thread Guillaume MAISON
still in my video server, i'm using the FtpServer component to download a set of images, taken from a camera, through one simple RETR call. I guess 'simple' on the client-side only ;) you got it :) On the OnGetProcessing event, i retrieve from a DB (the connection has already been

Re: [twsocket] [HELP] FtpServer : Long Process HOWTO

2005-04-27 Thread Guillaume MAISON
Thanks for your answer François. yep... that's what i was supposing. meaning that if the making of such a file in the event handler take some time (10 s let's say), and i have 10 clients asking almost simultaneously for images, the last one will have to wait for 100 secs before receiving

Re: [twsocket] [HELP] FtpServer : Long Process HOWTO

2005-04-27 Thread Francois Piette
meaning that if the making of such a file in the event handler take some time (10 s let's say), and i have 10 clients asking almost simultaneously for images, the last one will have to wait for 100 secs before receiving anything. You you have to hang into the event handler for 10 seconds,

Re: [twsocket] [HELP] FtpServer : Long Process HOWTO

2005-04-26 Thread Francois PIETTE
FTP server component will send the files simultaneously to all client at their own speed. It is serialized only when in the event handler, not for sending files. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Guillaume MAISON [EMAIL PROTECTED] To: iCS support

RE: [twsocket] HELP with NTLM authentication

2005-03-18 Thread Albert Wiersch
18, 2005 2:03 AM To: 'ICS support mailing' Subject: RE: [twsocket] HELP with NTLM authentication I was compiled with Delphi 7. Nothing special was done regarding NTLM authentication, however I have a litle bit customized HttpCli. I think it should work for you too. About the header

RE: [twsocket] HELP with NTLM authentication

2005-03-18 Thread Maurizio Lotauro
On 18-Mar-05 00:24:39 Albert Wiersch wrote: [...] When I try it, I get a page back titled You are not authorized to view this page. When I switch the server to accepting basic authentication, it works. I bet that you are using an old release of ICS. The NTLM is present in the release of this

RE: [twsocket] HELP with NTLM authentication

2005-03-17 Thread Albert Wiersch
: Thursday, March 17, 2005 3:59 PM To: 'ICS support mailing' Subject: RE: [twsocket] HELP with NTLM authentication I could access your site with no problem. Here are the headers log: Step 1: GET / HTTP/1.0 Connection: Keep-alive Host: val.htmlvalidator.com:81 HTTP/1.1 401 Access Denied