How to upload and retrieve files in ASP.NET through UNC path?
Introduction:-
UNC standard for Universal Naming Convention. It is a standard for identifying servers, printers and other resources in a network like Computers, Printers, File servers and others.
A UNC path uses double slashes or backslashes to precede the name of the computer.
Format of UNC Path:-
\\servername\sharename\path\filename
Some of valid UNC path are as follows:-
\\Domainname\SSRSFileShare
ASP.NET /ASP.NET MVC implementation:-
Basic purpose behind using UNC path is to store and retrieve files from remote server instead of web server. It is one of good practice to manage files on remote server if it very huge and very confidential. Using Remote server for storing and retrieving files through web application provide your files a additional tier of security.
Following steps need to follow in order to implement UNC path for upload and retrieve files in ASP.NET /ASP.NET MVC Application.
Create a folder on remote or local computer. For example C:\Files
UNC standard for Universal Naming Convention. It is a standard for identifying servers, printers and other resources in a network like Computers, Printers, File servers and others.
A UNC path uses double slashes or backslashes to precede the name of the computer.
Format of UNC Path:-
\\servername\sharename\path\filename
Some of valid UNC path are as follows:-
\\Domainname\SSRSFileShare
ASP.NET /ASP.NET MVC implementation:-
Basic purpose behind using UNC path is to store and retrieve files from remote server instead of web server. It is one of good practice to manage files on remote server if it very huge and very confidential. Using Remote server for storing and retrieving files through web application provide your files a additional tier of security.
Following steps need to follow in order to implement UNC path for upload and retrieve files in ASP.NET /ASP.NET MVC Application.
Create a folder on remote or local computer. For example C:\Files
Comments
Post a Comment