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 a开发者_如何学运维vailable for download by a given user?
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.
精彩评论