Solved

kylix download component

Posted on 2002-04-02
10
305 Views
Last Modified: 2011-04-14
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.
0
Comment
Question by:f15iaf
  • 5
  • 4
10 Comments
 
LVL 17

Expert Comment

by:inthe
Comment Utility
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]
0
 
LVL 3

Author Comment

by:f15iaf
Comment Utility
thanx a lot let me evaluate your components and then i give you points
0
 
LVL 3

Author Comment

by:f15iaf
Comment Utility
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.
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
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 :(
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
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 ..


0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 17

Expert Comment

by:inthe
Comment Utility
>>>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.
0
 
LVL 3

Author Comment

by:f15iaf
Comment Utility
ok indy 9.0 does not yet for kylix second
is it resume supported
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
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  
0
 
LVL 3

Author Comment

by:f15iaf
Comment Utility
I've solved the problem by making my own component since nobody answered my question i'm deleting this question
0
 

Accepted Solution

by:
Jgould earned 0 total points
Comment Utility
Hi f15iaf,

Since there is information in this thread that could help others i move it to PAQ and refund your points

points for Inthe here
http://www.experts-exchange.com/delphi/Q_20332445.html

**JGould-EE Moderator**
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now