Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File.Copy and lock file
Message
De
18/02/2014 21:33:49
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
File.Copy and lock file
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:
01594636
Vues:
67
Is it possible that such a command does not lock the file?
File.Copy(cSource, cDestination, lOverwrite)
I am copying a file into a directory and in the middle of the copy, I have an access is denied. We believe this is because someone else took over the file. But, I assumed File.Copy would have locked the file during the process of the copy.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform