Click here to Skip to main content
15,903,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please I need to know the requirements that must be satisfied for CreateFile to read successfully from remote network locations if
1. The remote computer is part of a workgroup
2. The remote computer is part of a domain;
Posted

1 solution

The user security information that the process or thread is running under must have read and write permissions on the resource.

You need the fully qualified path to the file, whether through a mapped drive letter or the UNC.

Using C string syntax...
1. "F:\\SomePath\\MyFile.txt"
2. "\\\\OtherServer\\SomePath\\MyFile.txt"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900