In the old days....i'm dating myself here ;) in dos when you
used xcopy and yes even pkzip you could switch the archive
bit/flag on or off. It would allpw you to only back up files
that had changed or were new. I am trying to implement that
in order to create a zipfile of a website at creation and
then only the changed or new new files on a nightly basis to
cover my clients butts as my web templates allow them to
upload files and create/modify content which then writes
static html files. I figure these zips will be small and can
be downloaded easily without taxing the resources of the
server where they are hosted. I have the zip cfc creating
the zips perfectly now in no time at all, but it is the
whole kit and kaboodle each time which is why I need the
archive bit to work.

Terry 

-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 16, 2006 1:26 PM
To: CF-Talk
Subject: Re: Clear or set Achive attribute with CF 6.1

> How do you clear or set the archive bit with Coldfusion?

> Terry Troxel

I believe it's a character in the attributes attribute of
the cffile tag, i.e. <cffile action="write"
file="c:\blah.txt" attributes="A"> Offhand I'm not sure what
character represents the archive bit. It's not something
I've needed to work with explicitly myself, but that's where
I'd start looking.

Check out the cffile tag in the livedocs:

http://livedocs.macromedia.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237874
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to