VirtualFiles with incorrect DateTime - WeOnlyDo Discussion board

VirtualFiles with incorrect DateTime (wodFTPServer)

by schliefdot, Wednesday, November 14, 2007, 22:26 (6006 days ago)

I am successfully using the VirtualFiles, but the Date/Time of the files are incorrect. It is always the system's datetime, but minus 5 hours.

User.VirtualFiles.AddFile( /Folder1 , File1.txt , C:\File.txt )
User.VirtualFiles.AddFile( /Folder1 , File2.txt , C:\bigFile.txt )
User.VirtualFiles.AddFile( /Folder1 , File3.txt , C:\smallFile.txt )

All these files will show the proper size & name (as defined), but the datetime will always be system time, minus 5 hours. I can even refresh the list and if the minute has changed on the server, the datetime for the files will also advance.

Note: I am in the a time-zone that is -5 GMT. So if it is trying to display GMT, it should at least + 5 hours instead of -5 hours.

But what is should do is display the DateTime of the Resolved file (as defined).

..or provide an additional parameters Size & DateTime for the AddFile method.


Complete thread: