M
Michael B Allen
What would happen if you tried to "MoveFile" a file using across a DFS
volume? For example:
server1:
file1
file2
foo --> referral to server2\bar
server2:
bar
and you call:
MoveFile(file1,foo\file1)
Does this fail? Are there instances in which API functions behave
differently if DFS is involved? The MoveFile API documentation has this to
day:
"The one caveat is that the MoveFile function will fail on directory moves
when the destination is on a different volume.
If a file is moved across volumes, MoveFile does not move the security
descriptor with the file. The file will be assigned the default security
descriptor in the destination directory.
The MoveFile function coordinates its operation with the link tracking
service, so link sources can be tracked as they are moved."
Thanks,
Mike
volume? For example:
server1:
file1
file2
foo --> referral to server2\bar
server2:
bar
and you call:
MoveFile(file1,foo\file1)
Does this fail? Are there instances in which API functions behave
differently if DFS is involved? The MoveFile API documentation has this to
day:
"The one caveat is that the MoveFile function will fail on directory moves
when the destination is on a different volume.
If a file is moved across volumes, MoveFile does not move the security
descriptor with the file. The file will be assigned the default security
descriptor in the destination directory.
The MoveFile function coordinates its operation with the link tracking
service, so link sources can be tracked as they are moved."
Thanks,
Mike