Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best approach to verify for exclusivity of a file
Message
From
08/08/2011 15:29:03
 
 
To
08/08/2011 14:48:24
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01520429
Message ID:
01520438
Views:
51
>I think in the final analysis you have to just try to move it, wrapped in a TRY...CATCH.
>
>You might be thinking:
>
>1. Check if anyone else is using the file
>2. If not, move it
>
>But, someone else could start using the file between 1 and 2. Yes, the time span between 1 and 2 may be small, and the chance of that happening low, but it could happen.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform