I want to copy a file from my local drive to a shared network path.
I have tried the following way:
string remoteUserName = WebConfigurat
Network paths are accessed by full Universal Naming Convention-UNC \\Server\Share\drive\file paths. If you have these type credentials or rights to access network, You could use File.Copy method to move your files.
\\Server\Share\drive\file