Connecting Tech Pros Worldwide Forums | Help | Site Map

Download Files

Grant
Guest
 
Posts: n/a
#1: Nov 19 '05
Hi,

I'm trying to download files using asp.net (vb) and it seems to take forever
to actually bring up the Save As dialog box. The files are Academic Software
Downloads so are quite large in size, but would have thought that the Save As
dialog would still come up fairly quickly and just the download time would
take some time.

I have tried to search for some example code for downloading files, but seem
to only find examples on uploading files.

I'm hoping that someone has some examples of how I would go about this as I
feel that my code has some logical errors in it (i.e. it's doing an extra
step to complete my objective).

Thanks for any help in advance.

Kind regards,

Grant.
Grant
Guest
 
Posts: n/a
#2: Nov 19 '05

re: Download Files


Just an extra note to my question:

I have got it working, but the problem is that it takes sooooo long for the
Save As dialog to appear (sometimes 2 minutes). So my question is really...
does anyone know how to download files quickly without the clients thinking
that nothing is working and either clicking on the download link again and
again, or just giving up.

Thanks again,

Grant.

"Grant" wrote:
[color=blue]
> Hi,
>
> I'm trying to download files using asp.net (vb) and it seems to take forever
> to actually bring up the Save As dialog box. The files are Academic Software
> Downloads so are quite large in size, but would have thought that the Save As
> dialog would still come up fairly quickly and just the download time would
> take some time.
>
> I have tried to search for some example code for downloading files, but seem
> to only find examples on uploading files.
>
> I'm hoping that someone has some examples of how I would go about this as I
> feel that my code has some logical errors in it (i.e. it's doing an extra
> step to complete my objective).
>
> Thanks for any help in advance.
>
> Kind regards,
>
> Grant.[/color]
Bruce Barker
Guest
 
Posts: n/a
#3: Nov 19 '05

re: Download Files


the browser does not pop up the save as dialog until after it has downloaded
the file. you can use client script to give some feedback that the download
has started.

-- bruce (sqlwork.com)

"Grant" <Grant@discussions.microsoft.com> wrote in message
news:E8A66D77-F6FD-4D92-87BD-3AA5E09C687C@microsoft.com...[color=blue]
> Just an extra note to my question:
>
> I have got it working, but the problem is that it takes sooooo long for
> the
> Save As dialog to appear (sometimes 2 minutes). So my question is
> really...
> does anyone know how to download files quickly without the clients
> thinking
> that nothing is working and either clicking on the download link again and
> again, or just giving up.
>
> Thanks again,
>
> Grant.
>
> "Grant" wrote:
>[color=green]
>> Hi,
>>
>> I'm trying to download files using asp.net (vb) and it seems to take
>> forever
>> to actually bring up the Save As dialog box. The files are Academic
>> Software
>> Downloads so are quite large in size, but would have thought that the
>> Save As
>> dialog would still come up fairly quickly and just the download time
>> would
>> take some time.
>>
>> I have tried to search for some example code for downloading files, but
>> seem
>> to only find examples on uploading files.
>>
>> I'm hoping that someone has some examples of how I would go about this as
>> I
>> feel that my code has some logical errors in it (i.e. it's doing an extra
>> step to complete my objective).
>>
>> Thanks for any help in advance.
>>
>> Kind regards,
>>
>> Grant.[/color][/color]


Closed Thread