mcgill
07-07-2005, 02:21 PM
Hi All...
Does anyone know if the File.Install method locks file(s) on the server while a client is copying a file?
Our Client/Server connection is through LAN (not HTTP or FTP). I've noticed that while a large file is being installed by a client computer (say around 100 meg) that another client cannot install the file at the same time. I've verified that it in not permission problems, etc. by manually copying the file on more than 1 machine at the same time.
(a) If there is a underlying locking mechanism, is there a way to turn it off?
(b) If I used the File.Copy command instead, would I have the same problems?
(c) How would I figure out if the file should be installed if I moved to the File.Copy menthod (I use the built in overwrite constants with the File.Install so I don't have to figure it out manually)?
McGill
Does anyone know if the File.Install method locks file(s) on the server while a client is copying a file?
Our Client/Server connection is through LAN (not HTTP or FTP). I've noticed that while a large file is being installed by a client computer (say around 100 meg) that another client cannot install the file at the same time. I've verified that it in not permission problems, etc. by manually copying the file on more than 1 machine at the same time.
(a) If there is a underlying locking mechanism, is there a way to turn it off?
(b) If I used the File.Copy command instead, would I have the same problems?
(c) How would I figure out if the file should be installed if I moved to the File.Copy menthod (I use the built in overwrite constants with the File.Install so I don't have to figure it out manually)?
McGill