Solved

kylix download component

Posted on 2002-04-02
10
311 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

740 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