Get Modification Date of a Single File

Brahmanathaswami brahma at hindu.org
Wed Aug 12 10:28:46 EDT 2015


JB wrote:
> I don’t have a mobile but on the older versions
> for desktops you use Files command.
>
> The detailed files form returns a list of files, one file per line. Each line contains the following attributes, separated by commas:
> 	* The file's name, URL-encoded
> 	* The file's size in bytes (on Mac OS and OS X systems, the si
[snip]

I'm very familiar with this, as in my in house production apps that deal 
globally with work processes here on the LAN, these apps often do 
folder/file scans that get needed info.

But it just seemed like a lot of work to me, to get info on a single 
file, to have to set the default folder, get the files, parse the file 
list for just the one you are interested in..

ideally one could just send the path of a file to a function that would 
return all this data for that one file.

Very useful tool on the server also. There are numerous use case for the 
a standard size/modification date check... hmm makes me think I could 
find a shell for this.

Looks like a case for a widget... Or perhaps we need to hire Monte to 
build this function for us.

BR






More information about the use-livecode mailing list