PDA

View Full Version : Programmatically writting to a network drive.



ayanda83
1st March 2017, 08:58
Hi Guys, I would like my program to write to a shared network drive. I have the IP address of the server where the drive is located. I've been given the rights to access the folder however I would like my program to write to the drive automatically. How can I go about this?

Lesiok
1st March 2017, 10:29
From the application point of view it is a normal disc.
If the resource is mapped to have a drive letter. If not, you can use the file path like \\server_ip\name_of_resource\file_name.

ayanda83
1st March 2017, 10:49
Thank you Lesiok:). I can't believe that's all I had to do. Over-thinking is a problem sometimes.