Thanks much Paul. We'll give it a try. Dave
>CF Directory action="list" will return the last modified date. > >Use a filter to narrow it down to the file your after > ><cfdirectory action="list" directory="c:\" name="z" >filer="myCustomerData.csv" /> ><cfdump var="#z#"/> ><cfoutput query="z"> >Name: #name# DateLastModified: #DateLastModified# <br /> ></cfoutput> > > >Paul K > > >A client uploads a file to our server daily and we then grab it and post its >data. Sometimes the client forgets to do the upload and we're grabbing the >same file from the previous upload. Not a real problem but we want to know >when this happens. > >I'm looking for an easy way to check that files date and time to match the >current date. If so, great, if not, I want to be emailed with a warning. > >Any sweet easy way to do this? > >Thanks in advance, > >Dave ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4211 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
