BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

idHTTP - downloading from localhost problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.usage
View previous topic :: View next topic  
Author Message
forums@mail.bg
Guest





PostPosted: Sun Jan 23, 2005 9:09 am    Post subject: idHTTP - downloading from localhost problem Reply with quote



i am using this code

var
F: TFileStream;
begin
F := TFileStream.Create('.tmptmp.pdf', fmCreate);
try
HH.Get(URL, F);
finally
F.Free;
end;

when URL is file from Internet, downloading is ok, when i try to
download from local host it stops below 100k. I couldnt find the
reason.
my localhost is Apache 2.0.48 on winXP. I am using it for testing. I
can download the same file from localhost with flashget or Opera's
download manager, but not with idHTTP.

what may be the problem?

Back to top
Jamie
Guest





PostPosted: Sun Jan 23, 2005 9:33 pm    Post subject: Re: idHTTP - downloading from localhost problem Reply with quote



[email]forums (AT) mail (DOT) bg[/email] wrote:
Quote:
i am using this code

var
F: TFileStream;
begin
F := TFileStream.Create('.tmptmp.pdf', fmCreate);
try
HH.Get(URL, F);
finally
F.Free;
end;

when URL is file from Internet, downloading is ok, when i try to
download from local host it stops below 100k. I couldnt find the
reason.
my localhost is Apache 2.0.48 on winXP. I am using it for testing. I
can download the same file from localhost with flashget or Opera's
download manager, but not with idHTTP.

what may be the problem?

you wouldn't by anychance be using the same file name and path as the

source and destinations?


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.usage All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.