c# - Folder Link of the uploaded file -


here situation

i developing project management application in asp.net.

in when customer gives project detail employee, uploads file (~ 100 mb).

i don't want uploaded customer.

we have drives connected in local network.

what i'm thinking instead of uploading file can give link folder location , clicking on link in browser employee able access file.

how should implement or please suggest practice or method solve type of problem.

since it's intranet, have user provide unc path asp.net application pool identity has access to.

in order provide file user, can either provide unc path href such as:

<a href="file://///server/path/to/file.txt"/> 

or write file response:

response.clear(); response.buffer= true; response.addheader("content-disposition","inline;filename=file.txt"); response.charset = ""; 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -