I am working a application which api server , db server and web server is diffent . We create a server to store file and create virtual directory to access all files . But my problem is how to store file this location . my network location is \10.0.0.51\CB-Clients how can i store file in this location. my code is
string _path =Path.Combine("\\10.0.0.51\CB-Clients\", "abc.png");
FileStream newFile = new FileStream(_path, FileMode.Create);
newFile.Write(userWiseDocumentStorage.DocImageByte, 0, userWiseDocumentStorage.DocImageByte.Length);
newFile.Close();
but the problem is file is not uploading this location