Create a TAR File (tarball) using Coldfusion\Java on a windows server
I need to create a TAR file containing multiple files on a windows server using Coldfusion\Java. I have found lots of examples of unpacking them, but very little on creating them. I found this example of using gzip to add some text to a file and that works, but I need to add files. I'm also not 100% sure that gzip is the same thing as building a tarball. This project was assigned to me with a very short turn-around and I'm spinning my wheels so any help in the right direction is greatly appreciated:
Win Server 2012
ColdFusion 10
Java Version 1.7.0_15
JavaColdFusion Language
Last Comment
Rob E
8/22/2022 - Mon
CEHJ
I need to create a TAR file containing multiple files on a windows server using Coldfusion\Java
That's slightly odd - tar files are native to Unix but foreign to Windows.
You will need a special library as they are not supported in the JRE. I'm happy to work with you on this in Live ( https://www.experts-exchange.com/live/ )
You will need a special library as they are not supported in the JRE. I'm happy to work with you on this in Live ( https://www.experts-exchange.com/live/ )
Gzip is a compression method for single files