François:
Maybe it's the firewall, I'm using Windows firewall.
I'd like to try your version, if you could send it to me, I'd be glad,
thanks
About the latest version, I'm using it - I've downloaded it yesterday from
your website, do the display from the server I've sent in last message show
som
> I am using HTTPCli to load a file from a webserver, works properly.
> However, when I try to load a file which cannot be found on the server,
> HTTPCli treats the servers error message as if it were the file and does
> not report any error.
> The resulting file saved on disk is just the html code
> Sorry, it was my fault - the event was OnHttpRequestDone, not
OnRequestDone.
> If I don't add the line, the code runs fine (it shows the entire page,
there
> is no problem in this), but the connection remains open - the progress bar
> in IE 6 remains there and you see a connection open in the ser
> No, I don't have any exceptions - the program runs in the debugger with no
> errors. The strangest thing is that in Firefox, the connection closes fine
> all times, but in IE, it doesn't - that happens only for virtual docs.
When
> you request a page, the connection closes ok on both browsers.
A
I am using HTTPCli to load a file from a webserver, works properly.
However, when I try to load a file which cannot be found on the server,
HTTPCli treats the servers error message as if it were the file and does
not report any error.
The resulting file saved on disk is just the html code of the
No, I don't have any exceptions - the program runs in the debugger with no
errors. The strangest thing is that in Firefox, the connection closes fine
all times, but in IE, it doesn't - that happens only for virtual docs. When
you request a page, the connection closes ok on both browsers.
Bruno
On
Hello Bruno,
> If I don't add the line, the code runs fine (it shows the entire page, there
> is no problem in this), but the connection remains open - the progress bar
> in IE 6 remains there and you see a connection open in the server. If you
Possible you have siltent exception error somewhere.
François:
Sorry, it was my fault - the event was OnHttpRequestDone, not OnRequestDone.
If I don't add the line, the code runs fine (it shows the entire page, there
is no problem in this), but the connection remains open - the progress bar
in IE 6 remains there and you see a connection open in the
> 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 monda
> ClientCnx.OnRequestDone := RequestDone;
You can't heve this line. It doesn't even compile with it.
I have remived it from your source, put your source into WebServ demo and it
works perfectly using IE 6 as client.
Are you really using latest ICS version ?
--
[EMAIL PROTECTED]
http://www.over
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;
>>
> > 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;
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
> 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
> Client.DataSt
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
Client.Da
> i would suggest you to download the sample i've provided here
> http://nauteus.com/FTPSample.zip.
> The code in this sample is precisely what doesn't seem to work...
forget about that sample... it'll work...
but the main thing is that in my main server app, when in RETR mode :
10 [2005/05
François:
I tried to close the connection using the event OnRequestDone, this closed
the connection ok, but in some clients, the page wasn't even shown, any hint
on what could be happening?
procedure TWebServForm.CreateVirtualDocument_Time(
Sender: TObject;{ HTTP server compon
> 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
well, in that case, the demo for the ftp server has a bad multithreading design.
i'm just using the very same design, and the very same classname ;)
fo
Jack,
The logic in your WSocketDataAvailable is broken. That's the problem.
You used LineMode which is fine, and you selected double CRLF as end of
line. So you received the complete header into the first OnDataAvailable
event. Then you receive subsequent OnDataAvailable depending on what the
ser
> I'm not reinventing the wheel. I saw your samples programs about
> TWSocketServer too. My problem not is work with various instances of
> clients. My problem is when the client connect the server, the server
> redirect the connection to another application. I have the Socket.Accept,
I
> run anoth
This problem is not related to ICS. Please use a general purpose mailing
list or newsgroup. For example http://www.elists.org/mailman/listinfo/delphi
btw: You must serialize your requests that must pass thru those "single
user" components.
Contribute to the SSL Effort. Visit http://www.overbyte.b
21 matches
Mail list logo