Access files on a file server via IIS

In an application we are developing, I have access to a database table which gives me the path to some files that are available on a file server. This file server is accessible from the machine on which IIS is running. Is there a mechanism I can use to (on demand) copy a given file from the file server to the web server and make the file available for download by a given user?

Answers


Yes, use the SMB protocol from a web-application to move the file over from a network mapped drive (from the file-server to the network server) and then serve it up to the client.

You could just serve straight from the file server.

Here is some more info.


Need Your Help

What is the simplest way to write a text file in java

java file text

Hello, I am wondering what is the easiest (and simplest) way to write a text file in java. Please be simple, because I am a beginner :D

android facebook sdk 4.2 open graph stories and maps

android facebook sdk opengraph

I'm trying to share open graph stories and locations for a fitness course using facebook android sdk version 4.2,