πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
3 messages
3 total messages Started by Artaud Thu, 21 Oct 2004 07:06
problem with FTP Example
#1725
Author: Artaud
Date: Thu, 21 Oct 2004 07:06
12 lines
1460 bytes
Hello,
I use the FTP example to download an autoextractible file from my web site, 
and when the download is finished, I look at the file with explorer and 
windows don't recognize a winrar autoextractible file.
I launch winrar and go to open this file and I obtain :
myfile.exe: unexpected end of archive
c:\myfile.exe Corrupt CMT data block
I don't know what I'm doing wrong cause I use the FTP example in my 
C++Builder6 Pro
Could you help me please, why the file is not downloaded entirely?
Thank you very much
Patrick
Re: problem with FTP Example
#1726
Author: hans galema
Date: Thu, 21 Oct 2004 08:28
24 lines
1650 bytes
Artaud wrote:

> I use the FTP example

Which component is used in C++Builder 6 Pro?

 > to download an autoextractible file from my web site,
> and when the download is finished,

Then you should first compare the amount of bytes from original
and downloaded. Is it the same ?

 > I look at the file with explorer and
> windows don't recognize a winrar autoextractible file.

You cannot blame windows for that.


> .... why the file is not downloaded entirely?

Is that the case ? Please confirm. How many bytes are missing from
how many ?

HAns.
Re: problem with FTP Example
#1727
Author: Artaud
Date: Thu, 21 Oct 2004 09:31
34 lines
2121 bytes
Hello, thank you for your help again!!!
I have found the problem,I have add the transfer mode as "MODE_BYTE" before 
the
NMFTP->Download(source,dest);
And all is  ok
Thank you again
Patrick

"hans galema" <notused@notused.nl> a οΏ½crit dans le message de news: 
4177732d$1@newsgroups.borland.com...
> Artaud wrote:
>
>> I use the FTP example
>
> Which component is used in C++Builder 6 Pro?
>
> > to download an autoextractible file from my web site,
>> and when the download is finished,
>
> Then you should first compare the amount of bytes from original
> and downloaded. Is it the same ?
>
> > I look at the file with explorer and
>> windows don't recognize a winrar autoextractible file.
>
> You cannot blame windows for that.
>
>
>> .... why the file is not downloaded entirely?
>
> Is that the case ? Please confirm. How many bytes are missing from
> how many ?
>
> HAns. 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads