473,383 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Download from database via asp

What I want to do is this via asp

a. Store file in database (I can do this)
b. Filter for a record (I can do this)

When page loads, I'd like to
c. Have that record display on web page and have user be able to
download the file (BLOb) in this record via a link.

Any hints here?

tia

Jul 22 '05 #1
4 1191
On Fri, 12 Nov 2004 17:15:40 -0500, ck****@fuse.net wrote:
What I want to do is this via asp

a. Store file in database (I can do this)
b. Filter for a record (I can do this)

When page loads, I'd like to
c. Have that record display on web page and have user be able to
download the file (BLOb) in this record via a link.

Any hints here?


Store the file outside the database and just store a location. Link
to that location.

Jeff
Jul 22 '05 #2
How to do this? Any links that might help?

On Sat, 13 Nov 2004 00:31:39 GMT, je*********@zina.com (Jeff Cochran)
uttered:
On Fri, 12 Nov 2004 17:15:40 -0500, ck****@fuse.net wrote:
What I want to do is this via asp

a. Store file in database (I can do this)
b. Filter for a record (I can do this)

When page loads, I'd like to
c. Have that record display on web page and have user be able to
download the file (BLOb) in this record via a link.

Any hints here?


Store the file outside the database and just store a location. Link
to that location.

Jeff

Jul 22 '05 #3
ck****@fuse.net wrote:
What I want to do is this via asp

a. Store file in database (I can do this)
b. Filter for a record (I can do this)

When page loads, I'd like to
c. Have that record display on web page and have user be able to
download the file (BLOb) in this record via a link.

Any hints here?

tia

http://www.aspfaq.com/show.asp?id=2149
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #4
je*********@zina.com (Jeff Cochran) wrote in message news:<41*****************@msnews.microsoft.com>...
On Fri, 12 Nov 2004 17:15:40 -0500, ck****@fuse.net wrote:
What I want to do is this via asp

a. Store file in database (I can do this)
b. Filter for a record (I can do this)

When page loads, I'd like to
c. Have that record display on web page and have user be able to
download the file (BLOb) in this record via a link.

Any hints here?


Store the file outside the database and just store a location. Link
to that location.


The problem with this is that if you have a secure database, you may
not want any old user to be able to copy and distribute the URL and
download your image. You also could run into naming conventions.
What happens if a user tries to upload an image with the same filename
as an existing file? Now he has to rename, and reupload the file.

We have thousands of images, PDF files, even AVIs and MPEGs in a
database with no ill effect.
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dux | last post by:
I have used some example code to create a database in MySQL and using php I can add binary files to the database. I was under the impression that I would be able to download the files with the...
11
by: Jim Willsher | last post by:
Hi all, PHP 4.2.2 on RedHat9 I have some files on my website for people to download, and I want to generate the file location "on the fly", so the URL is held in a database. I have a simple...
6
by: Samir | last post by:
Hello, I have a website that is hosted by another company. Is there some kind of php script to limit downloading to a certain amount size? And is there kind thing I can do to the .htaccess...
8
by: IGC | last post by:
I have a requirement to record in a database when a file is finished downloading to the end-user. Currently when a user clicks a download icon for a file it directs to an ASP page that records the...
14
by: Aaron | last post by:
On my website I have a dynamic link(aspx) to this file 0AX120S.jpg(privacy protection). When a visitor clicks on the link I want them to see my_vacation_pic.jpg (fetch realname from database) is...
1
by: com | last post by:
Extreme Web Reports 2005 - Soft30.com The wizard scans the specified MS Access database and records information such as report names, parameters and subqueries. ......
0
by: Buddy Ackerman | last post by:
I am trying to implment a file download via a link such that when clicked, instead of starting the default application for that type of file the user will be presented with a download dialog...
6
by: Mark Sandfox | last post by:
I have a need to allow an extrenal IT department to download 1 specific database. I have treid direct link and webclient methods but both get permission errors. This type of page is not served....
2
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: I'm working with project in my company by using ASP.Net 2.0 that allow the users to upload and download files to web site in the internet as backup. The user will first upload his...
0
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: I'm working with project in my company by using ASP.Net 2.0 that allow the users to upload and download files to web site in the internet as backup. The user will first upload his...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.