File attribute functions?
Posted: Wed Sep 16, 2009 7:54 pm
I'm building an application that will copy selected files from a local or network file system into an application controlled folder/file structure. I'll be creating data records that contain information about the file. The question is how to get that information?
sourcePath, sourceFileName, sourceFileSize, sourceFileExtension are fields that need populating. I can see parsing the path taken from an answer file dialog to get the name and extension, but are there functions available for this? And how to I get the file size and perhaps creation and last modified dates?
Thanks,
sourcePath, sourceFileName, sourceFileSize, sourceFileExtension are fields that need populating. I can see parsing the path taken from an answer file dialog to get the name and extension, but are there functions available for this? And how to I get the file size and perhaps creation and last modified dates?
Thanks,