3.1
Introduction
3.1.1
Zip Viewer Overview
Zip Viewer allows you to compress and extract files. It is compatible with the industry de facto standard PKZip 2.04g. It uses the third party compression engine, Xceed, to compress files.
A Zip file contains one or more files that have been reduced in size (compressed) and grouped together into a single file. You can set Second Copy profiles to compress files into a Zip format to save storage space on your hard disk or storage media.
3.1.2
Features
A brief overview of major features in the Zip Viewer. Self Extracting utility for the compressed files Fast, low memory usage compression engine
100% compatible with the existing PKZip 2.04g format
Supports the advanced new BZip2 compression method (burrows-wheeler transform) for 20-30% better compression than PKZip 2.04g on many popular file types. (New in v4.5)
Regular, spanned and self-extracting zip files created by Zip Viewer can be used by any of today's existing unzipping applications, and vice-versa.
Stores and retrieves the latest zip file format extensions, allowing Unicode filenames and NT file attributes, extra time stamps and security permissions to be stored in the zip file.
No need to repair corrupted zip files. Zip Viewer automatically tries to recover from errors and reports any inconsistencies found in the zip file while unzipping.
3.2
Using Zip Viewer...
3.2.1
To Open Zip Viewer
Second Copy has a built-in Zip viewer. When a profile compresses files into a Zip file you can use this built-in ZIp Viewer to view the compressed Zip file and to extract files inside it.
There are two ways to bring up the Zip Viewer:
1. Select a profile with compressed files then select View Destination Files. 2. Select Zip Viewer from the Tools menu.
3.2.2
To Compress a file
1. From the main Zip Viewer window, click on File from the menu. 2. Select New Zip.
3. In the Save in field, select the folder where you want to save the compressed file. 4. In the File name field, type a name for the compressed file.
5. Click on Save.
6. Click on Edit from the menu. 7. Select Add.
9. Click on Add.
3.2.3
To Extract a Zip file
1. Click on File from the menu. 2. Select Open Zip.
3. In the Look in field, select the folder where the Zip file is stored. 4. In the File name field, select the name of the compressed file. 5. Click on Open.
6. Select the file to extract or Click on Edit and Select All to extract all files. 7. Click on Edit and select Extract.
8. In the Extract to folder filed, select the folder where you want to uncompress the selected file(s). 9. Select appropriate options on the Extract Files window.
10.Click on Extract.
3.2.4
To Add a file to the Zip file
1. Open the Zip file from the File menu. 2. Click on Edit and select Add.
3. Double click on the folder list on the left pane from which you want to add the files. 4. Select the files on the right pane that you would like to add to the existing Zip file. 5. Select the other appropriate options in the Add Files window.
6. Click on Add.
3.2.5
To Delete a file from the Zip file
1. Open the Zip file from the File menu. 2. Select the file(s) you want to delete. 3. Click on Edit and select Delete.
3.2.6
To Set password on the Zip file
1. Open the Zip file from the File menu. 2. Click on Edit and select Set Password. 3. Enter the password for the Zip file. 4. Click on OK.
Note:
If you forget the password, you will not be able to extract the files.
3.2.7
To create self-extracting zip file
1. Open the Zip file from the File menu. 2. Click on Edit and select Select All. 3. Click on Edit and select Convert To Exe. 4. Enter the file name and click on Save.
3.3
Using AES encryption
3.3.1
AES Overview
Encryption is the process of changing data into a form that can be read only by the intended receiver. AES stands for Advanced Encryption Standard. AES is a symmetric key encryption technique which
is becoming more popular than that of the commonly used Data Encryption Standard (DES). When you use the Compress option to create a zip file, Second Copy can also encrypt the compressed files using up to 256-bit AES encryption.
Once the files are encrypted, they cannot be viewed without the valid password.
3.3.2
To Encrypt Files
Second Copy can encrypt files only when you use the Compress or Exact Compress copy mode on the "How?" tab. The encryption feature is optional. The files can be compressed and encrypted using either the standard PKZip 2.04g compatible format, or up to 256-bit AES encryption.
Note:
A valid password must be entered in order to view the encrypted files. Without the valid password the files cannot be extracted.
3.4
Error Messages
3.4.1
Understanding Compression Error Messages
Second Copy incorporates Xceed Zip compression software from Xceed Software Inc. When
compression errors occur, they are entered in the Log file. Use the following descriptions to diagnose the problem.
XcdErrorNoZipFile
The compressed Zip file was not found in the destination folder. XcdErrorZipStruct
The contents of the Zip file are corrupted, and cannot be accessed. It is sometimes possible to open the Zip file with the Zip Viewer to automatically repair it. If not, delete the Zip file and rerun the profile. This error also occurs if an attempt is made to open a Zip file that does not contain any files.
XcdErrorMemory
There is not enough memory available to successfully complete the current operation. XcdErrorBadCall
Unacceptable include or exclude file specifications have been entered. This error typically occurs when wildcards are not used properly. Use * (an asterisk) to indicate any number of characters at that position and ? (a question mark) to indicate any single character at that position.
XcdErrorNothingToDo
No files matched the include file specifications. XcdErrorDiskFull
There was not enough space on the storage device to hold the temporary file that is created during compression. This temporary file can be as big as the original Zip file plus the sum of the sizes of the files that are being added to it.
XcdErrorEOF
truncated, is missing information, or is corrupted. It is sometimes possible to open the Zip file with the Zip Viewer to automatically repair it. If not, delete the Zip file and rerun the profile.
XcdErrorLibInUse
The DLLs required for compression (XCDZIP32.DLL, XCDUNZ32.DLL) are currently being used on the system. This may happen if another program is using these DLLs.
XcdErrorUserAbort
The current operation was aborted at the user's request. This error can occur if you click the Copy button or exit Second Copy during compression.
XcdErrorTestFailed
The Test method has tested the archive and that one or more files in the archive have a bad CRC or have corrupted header fields.
XcdErrorZeroTested
The Test method has not ended up testing any files in the archive to be tested. XcdErrorDLLNotFound
The DLLs required for compression (XCDZIP32.DLL, XCDUNZ32.DLL) could not be found on the system. These DLLs are installed with Second Copy. If you have moved these files, try reinstalling Second Copy.
XcdErrorInternalLogic
A logic error occurred in Xceed Zip. In rare cases, a file error or unacceptable settings may cause this error to occur instead of another more appropriate error. If this error occurs, verify that the Zip file and the files to process are accessible. If you still get this error, contact Centered Systems.
XcdErrorTempFile
The temporary file could not be properly created. Xceed Zip creates a temporary file during
compression in the destination folder. This may occur when an incorrect destination path is specified, or it can occur if, during the current operation, the temporary file could not be accessed.
XcdErrorRead
A File Read error has occurred on a file being used by Xceed Zip. This error will occur when zipping files and there is a problem reading the zip file, the temporary zip file or one of the files to zip. Check the status of the device where your zip file and temporary file are located to make sure it is online and accessible. Also make sure the files you are zipping are accessible and aren't open by other applications. If you are zipping database files, make sure your tables or database is closed. XcdErrorWrite
A File Write error has occurred on the archive file or one of the files being processed. This error can occur if the device where files are being written becomes full, cannot be accessed or is having physical write errors.
Make sure there is enough disk space available on the device for the current operation, and make sure it is online and accessible.
XcdErrorCantCreateFile
An unrecoverable error occurred while trying to create one of the files being unzipped, the Zip file itself, or the temporary Zip file.
Make sure the devices being zipped to, or unzipped to, are online and accessible. Also make sure that the file creation permissions are granted to your application for the destination directory where the Zip file or the files being extracted are being created.
XcdErrorParentDir
A command that would end up removing the parent directory was detected and canceled by Xceed Zip. XcdErrorNameRepeat
Two or more files with the same filename and path were about to be added to the Zip file. XcdErrorLatest
The Xceed Zip could not update the date of the Zip file. XcdErrorDOSError
A File I/O error has occurred on the Zip file or one of the files being processed. A File I/O error can occur if Xceed Zip cannot read, write, open or create a file. It may also occur if, for any reason, a file being read from or written to can no longer be accessed.
XcdErrorMultidisk
An attempt was made to work with a Zip file that spans multiple disks, but Xceed Zip was not set in Multi-disk mode.
XcdErrorMultidiskBadCall
An attempt was made to execute an operation that is illegal when Multi-diskMode is set to True. This error will occur when you try to Add files to an already existing multi-disk Zip file, when you try to Delete or Fix a multi-disk Zip file, or when you use the UpdateZipDate method on a multi-disk Zip file. XcdErrorWrongDisk
The wrong disk was repeatedly inserted after a request for a specific. Three (3) attempts at inserting the correct disk are allowed by Xceed Zip when unzipping.
XcdErrorCantCreateDir
A directory could not be created. This error typically occurs when the Extract Directory property cannot be created, or when the complete path for a file to be extracted cannot be created.
Make sure your application has the appropriate file permissions to write on the destination storage device.
XcdErorr <310>
An unrecoverable error occurred while trying to create one of the files being unzipped, the Zip file itself, or the temporary Zip file.
Make sure the devices being zipped to, or unzipped to, are online and accessible. Also make sure that file creation permissions are granted to your application for the destination directory where the Zip file or the files being extracted are being created.
Try compressing manually to the very folder at the destination location where you are getting errors. Also, try renaming the existing zip file to a temporary name and then running the profile again.