Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining last update of a file when it is in construc
Message
From
25/03/2014 15:40:29
 
 
To
25/03/2014 15:02:24
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01597298
Message ID:
01597312
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform