[twsocket] How to install V8?

2013-05-18 Thread Perry Kappetein
I have V8 Beta installed, but how to install the Firemonkey version?

Seems like I need to install the CommonXE4Design   but I cannot install that
one.
Unless I am missing something here
I am able to compile the XE4Run project.


Thanks


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Download manager (Source) (Missing files?)

2012-04-24 Thread Perry Kappetein
Thanks.

Sorry if there are multiple messages coming through for me,  my Provider had
blocked this e-mail address (twsocket) thinking it was spam.


   Perry
 

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: Tuesday, April 24, 2012 2:00 AM
To: twsocket@elists.org
Subject: Re: [twsocket] Download manager (Source) (Missing files?)

 Only trying to figure out, where the THttpCli component is located, 
 cause I'm not finding it.
 Not even finding that download manager queue thing within the source.

The browser demo is slightly convoluted due to handling URL protocols such
as res and file, as well as http, and due to caching of images. 

Essentially, there is a dynamic array FImageHTTPs of TImageHTTP components,
four at the moment, this component is defined in urlconics.pas and includes
HTTP : TSslHttpCli which does the hard work. 

When the browser component needs to display an image in GetImageRequest, the
URL is added to a queue Pending and a windows message WM_Next_Image sent,
which eventually causes WMNextImage to be called.  This checks if one of the
FImageHTTPs instances is free and if so starts a download.
When the download completes, ImageRequestDone is called which processes the
download and calls HttpSessionFree.  This clears the last session and checks
Pending for any more URLs and sends another windows message to trigger the
next download.  So Pending is the real queue. 

Angus





--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Download manager (Source) (Missing files?)

2012-04-23 Thread Perry Kappetein
Yes, I found it, that's why I sent a message right afterwards, this message
came much later then my 2nd message.
Got it to work..
Only trying to figure out, where the THttpCli component is located, cause
I'm not finding it.
Not even finding that download manager queue thing within the source.

 

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: Monday, April 23, 2012 2:10 AM
To: twsocket@elists.org
Subject: Re: [twsocket] Download manager (Source) (Missing files?)

 I have the Delphi XE2 Pro installed, and when I load this project it's 
 telling me that htmlicons.inc is missing along with THMTLviewer 
 component, and  Htmlview,  HTMLUn2 are missing.
 
 What is missing from this demo?

You have not read the requirements at the top of the main unit
FBUnitIcs.pas:

 This demo requires the HtmlViewer component from:

  https://github.com/BerndGabriel/HtmlViewer or
  http://code.google.com/p/thtmlviewer/

which must also be downloaded and installed before the demo can be built.

  It also needs ICS v7 dated 1st April 2012 or later from:

  http://wiki.overbyte.be/wiki/index.php/ICS_Download

You can also download HtmlViewer from the above ics_download page. 

Angus




--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Download manager (Source)

2012-04-22 Thread Perry Kappetein
Nevermind, was missing the htmlviewer component.

Got it to work now, but trying to find out where those THttpCli are located.
 

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: Wednesday, April 18, 2012 11:33 AM
To: twsocket@elists.org
Subject: Re: [twsocket] Download manager (Source)

 Working now with the THttpCLI component instead.
 Got most of it to work now..
 But have no clue where the data is put when the download is finished.

The new web browser demo project now illustrates an HTML download queue,
each image on a web page is queued and then downloaded using  four THttpCli
components, with the next download triggered when the last one completes. 

The demo is in folder delphi\internet\browser of the nightly V7 zip file.


Angus


--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Download manager (Source) (Missing files?)

2012-04-22 Thread Perry Kappetein
Hmm. Maybe I am missing something here.

I have the Delphi XE2 Pro installed, and when I load this project
it's telling me that 
htmlicons.inc is missing along with
THMTLviewer component, and  Htmlview,  HTMLUn2 are missing.

What is missing from this demo?


 Perry



-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: Wednesday, April 18, 2012 11:33 AM
To: twsocket@elists.org
Subject: Re: [twsocket] Download manager (Source)

 Working now with the THttpCLI component instead.
 Got most of it to work now..
 But have no clue where the data is put when the download is finished.

The new web browser demo project now illustrates an HTML download queue,
each image on a web page is queued and then downloaded using  four THttpCli
components, with the next download triggered when the last one completes. 

The demo is in folder delphi\internet\browser of the nightly V7 zip file.


Angus


--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Download manager

2012-02-25 Thread Perry Kappetein
Thank you all for your information.

Working now with the THttpCLI component instead.
Got most of it to work now..
But have no clue where the data is put when the download is finished.
With the HTTPMultipartdownloader I can use a Filestream, but do not see that
in the THttpCLI component ?

   Perry



 
The normal THttpCli component is fine for most downloading, but don't drop
them on the form, instead create them in code as a array and assign all the
properties and events in code, using the same events for all instances of
the component (this is what HTTPMultipartdownloader does itself).  

var
MyHTTPCli: array [0..9] of THttpCli; procedure onHttpDataEvent (Sender :
TObject; Buffer : Pointer; Len :
Integer);
procedure onHttpCommand (Sender: TObject; var S: String) ;
procedure onHttpHeaderData (Sender : TObject);
procedure onHttpSessionConnected (Sender : TObject);

for I := 0 to 9 do begin
MyHTTPCli [I] := THTTPCli.Create (Self) ;
with MyHTTPCli [I] do begin 
Tag := I ;  // so we can identify each instance
OnDocData := onHttpDataEvent ;
OnCommand := onHttpCommand ;
OnHeaderData := onHttpHeaderData ;
OnSessionConnected := onHttpSessionConnected ;
   
etc, etc, 
end ;
end ;

Angus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Download manager (Source)

2012-02-25 Thread Perry Kappetein
Hi,

I am stuck now for weeks on this, and even though with some help
I am unable to figure out what I am missing.

Could someone take a look at this, and tell me what I am missing or doing
wrong?

The file is located here:  http://www.dsromorganizer.com/helpneeded.zip

Basicly what doesn't work right is
When I Abort the download, whatever is left showing in the queue are not the
right ones.
Also I am unable to get the progressbar to work at all.
Not sure If I created it the wrong way ?

Thank you so much for all your help

   Perry




--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Download manager

2012-02-24 Thread Perry Kappetein
Hello,
First of all, I am new to this list, and wasn't aware that there was a
mailinglist available.
Hopefully someone is able to help me with this.
 
I am working on a download manager, and using the HTTPMultipartdownloader
component.
 
 
For now I have 5 different HTTPMultipartdownloader components on my form,
but I think I should be able to do it with only 1. 
like HTTPMultipartdownloader[xx]  ?
 
If I have 5 or more different weblinks in my queue, I want do download all
these files.
Now I am using 5 components, but it doesn't seem very practical. Basicly i
have 5 of them called  DL1, DL2, DL3 , DL4 and DL5.
 
Is there an easier way to accomplish this? to use just like a
HTTPMultipartdownloader[xx]  ?
 
This is what I have right now where  DL1  is the component. and a listview
that contains the weblink + filelocation.
 
procedure TMultipartHttpDownloadForm.Button4Click(Sender: TObject);
var
 x : integer;
begin
x:=0;
while x = listview.items.Count -1 do
 begin

 if (dl1.FileStream = nil) and (x = listview.items.Count -1) then
begin
bar1.Clear;
dl1.URL   := listview.Items[0].Caption;
dl1.StateFileName := listview.Items[0].SubItems[0] + '.Status';
dl1.PartCount := 2;
dl1.FileStream:= TFileStream.Create(listview.Items[0].SubItems[0],
fmCreate);
inc(x);
dl1.Start;
end;

 application.ProcessMessages ;
 end;

end;

 

Thank you

   Perry

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Reading Old Archive files possible?

2012-02-24 Thread Perry Kappetein
 I found the Gz files for the archive. And it look s like they are
Txt files, but I am unable to read it.
Do I need a special program to import those files ?  I would like to have an
Archive on my PC, in case I am without internet.

Thank you
   Perry

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Manual for the NNTP module ?

2005-09-24 Thread Perry Kappetein
I know how the RFC-977 works
I download the newsreader, and the only thing I am seeing is

 procedure   HeadByNumber(Number : Integer; DestStream : TStream); virtual;

Which is using

procedure TNntpCli.GetArticleByNumber(
RqType : TNntpRequest;
Number : Integer;
DestStream : TStream);
begin
if Number  0 then
GetArticle(RqType, ' ' + IntToStr(Number), DestStream)
else
GetArticle(RqType, '', DestStream);
end;



So I can only use 1 number, and not like   2132 - 5000  for example.
So, do I need to make a loop all manually?


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE
 Sent: Saturday, September 24, 2005 2:16 AM
 To: ICS support mailing
 Subject: Re: [twsocket] Manual for the NNTP module ?
 
  Is there any manual/help for the NNTP module?
 
 If you want to know how NNTP protocol works, read RFC-977.
 If you want to know how NNTP component work, have a look at 
 the source code for both the component and the demo application.
 
 
 Contribute to the SSL Effort. Visit 
 http://www.overbyte.be/eng/ssl.html
 --
 [EMAIL PROTECTED]
 The author for the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
 
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] ICS NNTP module question

2005-09-18 Thread Perry Kappetein
Hi everyone...
 
I really like the NNTP module from your package, since Indy10 is failing
with Delphi 2005.
I have 1 thing though, and maybe you can help me.
 
I can't get it to work when I do 
 
nntp.UserName:='perry';
nntp.PassWord:='kappetein;
nntp.Port:='119';
nntp.Host:='nntp1.usenetserver.net';
nntp.Connect;
logfile.Lines.Add(nntp.LastResponse);
Nntp.Authenticate;
logfile.Lines.Add(nntp.LastResponse);
 
 
Since  the nntp.statuscode is not 200 yet.
I thought I create a loop, but then it won't work.
 
like this
 
 
nntp.Connect;
logfile.Lines.Add(nntp.LastResponse);
 
repeat
 //showmessage(inttostr(nntp.StatusCode));
 while not nntp.StatusCode =200 do  logfile.Lines.Add(nntp.LastResponse);

until nntp.StatusCode = 200;
Nntp.Authenticate;
 
This aint working.. but when I use the Showmessage  that I marked then it
will work.  (will get 2x a messagebox coming up though)
how can I make all of this work the right way?
 
Thanks so much
 
   Perry
 
 
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be