Link to home
Start Free TrialLog in
Avatar of f15iaf
f15iaf

asked on

kylix download component

hello I need a kylix component which has the next features:
1.it receives a full url file and downloads the file to the computer.
2.it supports proxies
3.resume supported
4.it gives the download rate each second(k/sec)

300 points are guaranteed to the person who gives the link to this component.
Avatar of inthe
inthe

hi er getright :)

for kylix i think the closest/most supported you will find is one of the winshoes or ics components.

>> receives a full url file and downloads the file
 what protocol? ftp/http well above comps do both..

>> supports proxies
both do

>> resume supported
they support it but note resume only works if the server your downloading from supports it.

>> gives the download rate each second(k/sec)
maybe a little coding required (filesize you can get from server and do some math filesize - how much is downloaded so far)it could cost alot for more advanced components ,i never seen any that give the download rate/speed and some of the advanced comps were going for $700.00 [ouch]
Avatar of f15iaf

ASKER

thanx a lot let me evaluate your components and then i give you points
Avatar of f15iaf

ASKER

Sorry it does not meet my needs
1.ics do not suppoert kylix right now they have only
Ticssocket component for kylix

2.winshoes
   Tidhttp has support for proxy but
   Tidftp has no support for proxy
3.
   and certeinly they have no resume support to any
   kind of sites so ics and winshoes are not what i need.
hi,
the proxy part gonna kill it but some more peices :

1:
 oops sorry just had a look now at ics for kylix ,didnt realise they hadnt ported much yet.

indy looks alot more promising though,

2 : i gather they are working on it (indy)

3:
>> and certianly they have no resume support to any

yeh they do ,

http:

TIdHttp.Request.ContentRangeStart := whereveryourupto;
TIdHttp.Request.ContentRangeEnd := can leave empty or use .head to get full size
TIdHTTP.Get;

ftp:

if TIdFTP.ResumeSupported then
TIdFtp.Get(somefile, somestream, true);

[ same thing for resume with ics (under windows). ]


with proxy ive never had any dealings with but maybe you know if it is possible to find another comp to go with these to do the proxy part? if so that would sort ftp and http.

note also for the bytes per second part:
the OnWork event has the number of bytes transfered
OnWorkBegin event has the total to be transferred

basically indy will do it all except for proxy :(
hold the boat
 i was about to post winsock in newsgroup and just found this :

Proxy support for TIdFTP has been added to Indy 9.0.2-B, available on the
FTP site at ftp://indy90:indy90@ftp.nevrona.com.  It can be used like this:

with IdFTP1 do
begin
    Host := 'ftp.nevrona.com';
    Username := 'indy90';
    Password:= 'indy90';

    ProxySettings.ProxyType := fpcmTransparent;

    ProxySettings.Host := 'grumpy.isi.com';
    ProxySettings.Username := 'proxyusr';
    ProxySettings.Password := 'proxypwd';

    try
        Connect(True);
        ...
    except
        on E: EIdException do
        ...;
    end;
end;

Have a peek at TIdFtpProxyType for the supported proxy connection modes

for http:

idHTTP1.ProxyParams ..


>>>was about to post winsock in newsgroup

should read
  was about to post in winsock newsgroup

borland.public.delphi.internet.winsock is where the indy fella's hang out so if you have any specific q's they should be able to help better.
Avatar of f15iaf

ASKER

ok indy 9.0 does not yet for kylix second
is it resume supported
yeh see my second post.

ps,what you running kylix2 on?did it install ok
i havent got it to install yet on mandrake 8.2 ,though kylix1 works good on mandrake 8.1  
Avatar of f15iaf

ASKER

I've solved the problem by making my own component since nobody answered my question i'm deleting this question
ASKER CERTIFIED SOLUTION
Avatar of Jgould
Jgould

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial