Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File.Copy and lock file
Message
De
19/02/2014 11:37:26
 
 
À
19/02/2014 11:32:02
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01594636
Message ID:
01594673
Vues:
37
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform