First off you have to make sure your are making a correct cfhttp call to get an object. <cfhttp method="GET" url="MyFullyQualifiedUrlHere" getasbinary="yes" path="MyAbsolutePathToWhereIwantToStoreThisFile" file="MyFileNameIAmGettingFromTheCFHHTP"></cfhttp> This will actually bring the file from the remote server to your server. next you will need to either use a command line accessible zip extract utility or a CFX tag like cfx_zip to extract the files. If you are running MX or MX7 you can use the JAVA ZIP util found on CFLIB.org http://www.cflib.org/udf.cfm?ID=997 The only problem I've had with the java util is that it has a recursize problem, in that it only wants to work on a single folder. But I believe that is only on creating ZIP files. HTH =]
On 10/17/05, Graham Pearson <[EMAIL PROTECTED]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I am trying to retrieve a zip file from a remote CFMX server to my > local CFMX Server and wanting this process to be done without any user > interaction. What I have done this far is use cfhttp to get the file > and when I cfdump the cfhttp scope within my FileContent I have object > of java.io.ByteArrayOutputStream with various Methods. > > How do I use these methods to save this file to the local hard drive. > After I save it, I am wanting to unzip this file and overwrite any > files as the zip file has the latest versions of my coldfusion templates. > > Any Assistance Greatly Appriciated. > > - -- > Graham Pearson, System Administrator / Application Developer > Northern Indiana Educational Services Center > Mishawaka, IN 46544 > Voice (866) 254-5322 or (574) 254-5210 / Fax (574) 254-0148 > VOIP Telephone Number: (574) 217-0146 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (MingW32) > Comment: GnuPT 2.6.2.1 <http://2.6.2.1> by EQUIPMENTE.DE<http://EQUIPMENTE.DE> > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFDVBAlrwdok4nP6d0RAuQAAJ9z4i0U+s4IIvFE1XMtAHtn0xQmLwCeLtf2 > kchF4nOBPQH3BdGNbZkxWoY= > =nbCP > -----END PGP SIGNATURE----- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221259 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

