Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Transfer BLOB Data from SQL Server 2000 in LAN to Web Server in DMZ

Posted on 2006-07-13
2
Medium Priority
?
342 Views
Last Modified: 2013-12-16
Here is the schema:

1. Coldfusion web server in DMZ.
2. SQL Server 2000 with local X:/  drive in LAN. And files such as PDF and MP3 are stored on X:/ drive.

The scenario is that when user sends request and Coldfusion web server needs to display PDF or MP3 to user. Therefore, I need to:

1. By user's request, a stored procedure on SQL Server gets corresponding PDF or MP3 from X:/ driver to a temporary table.
2. The stored procedure returns PDF or MP3 as BOLB IMAGE from the temporary table to ColdFusion server.
3. ColdFusion web server displays PDF or MP3.

My question is that is my idea doable? Any comments are welcome!

Thanks!

yl

0
Comment
Question by:yanglin
1 Comment
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 750 total points
ID: 17101430
X:\ drive being mapped needs to be replaced by \\SERVERNAME\SHARENAME

but for the rest, it is "doable". however, I would not do it like that (for performance reasons):
  * file needs to go over the network from X:\ to the server (temp table), and from there to web server, and from there to client browser. also, this will be quite slow.

 if really you want the sql server in between, you should store the files directly in the database
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question