Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 19th, 2003, 02:45 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default BLOB field file types

My company's SQL Server 2000 database has a field which may store BMP or text files.

I want to use an ASP file to retrieve these files, but I don't know how (or if it's possible) to "sniff" the content type of the file in the BLOB, so I can choose the appropriate contenttype setting when the file is retrieved.

Can anyone help? Is this possible, and if so, sample code would be much appreciated.

Thanks in advance,
Ken
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Download - file from Database [Blob field] -JSP lapog Pro JSP 10 January 20th, 2011 05:19 PM
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
Changing table field types in VB scubasteve Access VBA 1 June 12th, 2006 12:24 PM
Empty Text or blob field ODBC Drivers (0x8002009) MaBel Classic ASP Databases 1 May 6th, 2005 11:17 AM
ASP code for inserting BLOB field in Interbase pyc Classic ASP Databases 0 June 4th, 2003 12:02 AM



All times are GMT -4. The time now is 08:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.