Groups | Blog | Home
all groups > c# > april 2007 >

c# : file.copyto question regarding relative path vs map network drive


Peter Duniho
4/9/2007 8:39:22 PM
[quoted text, click to view]

I don't see why one would be faster than the other. They both are
restricted by the network itself.

However, if you are concerned about a possible difference, it should not
be very difficult to try them both and compare the results.

Coaster
4/9/2007 10:51:57 PM
If I am calling File.CopyTo make a backup copy of a remote file on a remote
machine where the source and destination locations are both on the remote
machine would it be faster to call the function with a relative path or
using the X drive which is mapped to the remote machine?

Thanks

AddThis Social Bookmark Button