Solved

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

Posted on 2006-07-13
2
317 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
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

830 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