Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

kylix download component

Posted on 2002-04-02
10
Medium Priority
?
320 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 6913796
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
ID: 6914046
thanx a lot let me evaluate your components and then i give you points
0
 
LVL 3

Author Comment

by:f15iaf
ID: 6914408
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 17

Expert Comment

by:inthe
ID: 6917014
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
ID: 6917044
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
 
LVL 17

Expert Comment

by:inthe
ID: 6917052
>>>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
ID: 6919084
ok indy 9.0 does not yet for kylix second
is it resume supported
0
 
LVL 17

Expert Comment

by:inthe
ID: 6919578
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
ID: 7198934
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
ID: 7198989
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

598 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