Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File.Copy and lock file
Message
From
19/02/2014 11:37:26
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01594636
Message ID:
01594673
Views:
42
>Probably stuck on discovering the source of the problem without it :-{
>
>Does the .tmp file renaming approach work ? If the second program attempts to copy that whilst it's still .tmp then you're back where you started......

The TMP file approach works at the testing phase. We would need to run it for a few months to be sure the problem went away. But, I cannot see how the same problem would come back. The reason is that the second program requires a specific extension before detecting and copying the file. Thus, for as long as .TMP exists, it will not be processed by another program. And, the rename command would only make that file available to the proper name once executed.
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
Next
Reply
Map
View

Click here to load this message in the networking platform