I have a possibly pre-existing directory structure on the client machine server that looks like this:
-|
+css
|-ABC
|-EFG
|-XYZ
+img
|-ABC
|-EFG
|-XYZ
+js
|-ABC
|-EFG
|-XYZ
+htm
|-ABC
|-EFG
|-XYZ
When we send our customers updates to their e-commerce websites we send them in a zip file, which has the following structure:
-|
+css
|-UniqueDirectory
+img
|-UniqueDirectory
+js
|-UniqueDirectory
+htm
|-UniqueDirectory
...where UniqueDirectory is always the same name.
That being said, is there a way using Visual C++ 2005 that a program could be written to unzip the zip file that we send the customer into the existing directory without overwriting any of the existing directories (excluding the UniqueDirectory of course, that can and should be overwritten).
The end result after the file being unzipped on the client machine should be:
-|
+css
|-ABC
|-EFG
|-UniqueDirectory
|-XYZ
+img
|-ABC
|-EFG
|-UniqueDirectory
|-XYZ
+js
|-ABC
|-EFG
|-UniqueDirectory
|-XYZ
+htm
|-ABC
|-EFG
|-UniqueDirectory
|-XYZ
Can this be done using C++? My clients don't possess the technical skill involved to just unzip the files to the correct directories. They also don't necessarily want to install an unzipping program.
Would it require an external library? Preferably I'd like to do this using just libraries from Visual C++ 2005, but if an external library is required I'd like to know what it is called.