Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining last update of a file when it is in construc
Message
De
25/03/2014 15:40:29
 
 
À
25/03/2014 15:02:24
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597298
Message ID:
01597312
Vues:
35
>Common practice in this kind of scenario is for the server to buffer/build the incoming file to a temp file in a temp file folder. Only when the upload is complete is that file copied out to the desired destination name and folder.

Yes, but in this case, we cannot control this as this is sent from a client.

>I *think* in that case the server will write the destination file right away with length 0, to prevent any other process from potentially creating a file with the same name in that folder. That "dummy" file will have a datetime. I don't know if the final copied file will have that same datetime, or the datetime of completion of the file upload/creation in the temp folder.

That is a good question. I will have to upload a file of 100 MB,and use Windows Explorer to see how it detects those properties during the time the transfer is in progress.
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