Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File.Copy and lock file
Message
De
19/02/2014 12:23:15
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
19/02/2014 10:00:21
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:
01594680
Vues:
48
>>File.Copy uses the api CopyFile http://msdn.microsoft.com/en-us/library/windows/desktop/aa363851(v=vs.85).aspx
>>
>>Looks like a permission issue
>
>I do not think so. The file copy starts but this is fired as an error in the middle of the copy:
>
>"The process cannot access the file 'MyFile' because it is being used by another process."
>
>So, this is why I am wondering how another action can get a hold of a file while it is being created.
>
>It looks like the other action starts to copy the file while the copy is in progress thus interfering with the initial copy.
>
>Is that possible?

how about a backup process?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform