Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I download multiple files from an ASP to my hard disk?

Status
Not open for further replies.

mrdavid57

Programmer
May 10, 2001
11
US
I have an Access Database that contains "File Paths" to certain files out on the network. When I say "File Paths", I mean,

M:\SOFTWARE\DMC1\100R3\CARCK1.OBJ
M:\SOFTWARE\DMC1\100R3\GRPCK.OBJ
M:\SOFTWARE\DMC1\100R3\KERCK.OBJ
M:\SOFTWARE\DMC1\100R3\SELCK.OBJ

I have developed an ASP that displays these paths. These paths change according to the search criteria. I would like to click just one button and download these files to my hard drive. When finished, the following files would be on my hard drive:

CARCK1.OBJ
GRPCK.OBJ
KERCK.OBJ
SELCK.OBJ


 
Downloading files is typically one at a time. You could have your ASP code call a ZIP utility which would package the selected files so the user could download them all at once and unzip it themselves. Or maybe package your files into a setup program which the user could download and then run.

Chip H.
 
This is an example...

Set fso = CreateObject("Scripting.FileSystemObject")
Set a = fso.CreateTextFile("c:\testfile.txt", True)
a.WriteLine("This is a test.")
a.Close


 
Hi,

wahat about using an ftp component and just letting the user download the items...set up the ftp service and just use an href tag

<a href=ftp/file path/filename>CARCK1.OBJ</a> would show as a link and allow the user to pick and choose the files needed...
Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
Hi, i want to make an .asp page that with only one click over a link, it would ask to download some specific file.
As far as i know, for example, if i make a link with a .doc document and then click on it, this document will be opened. But only if i press right button on it, then it will appear the option to save this file.

Mybe i have to use some component, i don´t know, please help!!!
 
If you visit they have a server component called aspsmartupload (its a free download). Primarily it is designed for uploading client files to a web server, but it also has a feature for downloading files as well.
I've not used the download part of it, but it works very well with the upload part.

You will need to install this component on the server; I am assuming that you have access to do this.

Hope this helps.

Regards,

Chad Hooper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top