[DUG] determining file system

Rohit Gupta rohit at cfl.co.nz
Wed Jul 20 14:47:43 NZST 2005


Oh its worse than that.  Say a file is on PC-1.  Then PC-2 can see a 
different timestamp than PC-3.

I dont know why MS could not have adopted the unix way by now.  
The timestamp is always stored in a standard format... its the 
display that varies according to the timezone.

From:           	"Trevor Jones" <trevorj at ihug.co.nz>
To:             	"'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
Subject:        	RE: [DUG] determining file system
Date sent:      	Wed, 20 Jul 2005 13:51:22 +1200
Send reply to:  	NZ Borland Developers Group - Delphi List <delphi at ns3.123.co.nz>
	<mailto:delphi-request at ns3.123.co.nz?subject=unsubscribe>
	<mailto:delphi-request at ns3.123.co.nz?subject=subscribe>

[ Double-click this line for list subscription options ] 

Phil,
  There's some additional weirdness that can happen with timestamps even on
a windows filesystem.

"One of the file system features you may find yourself surprised by is
tunneling, wherein the creation timestamp and short/long names of a file are
taken from a file that existed in the directory previously. In other words,
if you delete some file "File with long name.txt" and then create a new file
with the same name, that new file will have the same short name and the same
creation time as the original file."

Here's a link to the article:

http://blogs.msdn.com/oldnewthing/archive/2005/07/15/439261.aspx

Sorry, I have no ideas about Netware.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Phil Middlemiss
Sent: Wednesday, 20 July 2005 11:08 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] determining file system

Part of our code depends on getting the file stamp of a particular file, 
however on systems that have that particular file served by something 
like Novell Netware, that timestamp can be something other than what was 
expected.

Is there a way to determine the file/operating/network system (whatever 
is the correct one to check) of a given location?

Cheers,
Phil.
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email rohit at cfl.co.nz  or  r.gupta at xtra.co.nz
======================================================================




More information about the Delphi mailing list