Re: full file information
Java's NIO gives you that info, but requires JDK7. If you're on Windows, you could use the File class to get that info: http://msdn.microsoft.com/en-us/library/system.io.file.aspx If on Linux or other *nix, you can use cfexecute and bash stat command, and parse the output. Billy Cravens bdcrav...@gmail.com On Feb 26, 2013, at 6:06 AM, Michael Dinowitz wrote: > > Only returns Lastmodified, not created or lastaccessed. > > On Tue, Feb 26, 2013 at 6:59 AM, Raymond Camden > wrote: > >> >> getFileInfo() >> >> >> >> On Tue, Feb 26, 2013 at 5:57 AM, Michael Dinowitz < >> mdino...@houseoffusion.com> wrote: >> >>> >>> I've played with cfdirectory and cffile as well as their functional >>> equivalents but none of them give me 'all' of the information available >>> about a file. It'll give me the lastmodified date but not the created or >>> accessed dates. Does anyone know of a cfx, java object, or something else >>> that will get me all of the data available from a file? >>> >>> Thanks >>> >>> >>> >> >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354699 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: full file information
Only returns Lastmodified, not created or lastaccessed. On Tue, Feb 26, 2013 at 6:59 AM, Raymond Camden wrote: > > getFileInfo() > > > > On Tue, Feb 26, 2013 at 5:57 AM, Michael Dinowitz < > mdino...@houseoffusion.com> wrote: > > > > > I've played with cfdirectory and cffile as well as their functional > > equivalents but none of them give me 'all' of the information available > > about a file. It'll give me the lastmodified date but not the created or > > accessed dates. Does anyone know of a cfx, java object, or something else > > that will get me all of the data available from a file? > > > > Thanks > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354696 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: full file information
getFileInfo() On Tue, Feb 26, 2013 at 5:57 AM, Michael Dinowitz < mdino...@houseoffusion.com> wrote: > > I've played with cfdirectory and cffile as well as their functional > equivalents but none of them give me 'all' of the information available > about a file. It'll give me the lastmodified date but not the created or > accessed dates. Does anyone know of a cfx, java object, or something else > that will get me all of the data available from a file? > > Thanks > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354695 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
full file information
I've played with cfdirectory and cffile as well as their functional equivalents but none of them give me 'all' of the information available about a file. It'll give me the lastmodified date but not the created or accessed dates. Does anyone know of a cfx, java object, or something else that will get me all of the data available from a file? Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354694 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm