PDA

View Full Version : Bypass temp folder for large archives


jzipfan
04-21-2008, 11:50 AM
Hi,
When unzipping a large archive (2GB+), jzip first unzips the files to the temp folder and then moves them to the final destination. If the temp folder and the destination are on different disks, the moving can take a long time. Also, it is possible that for really large archives, even though there's enough space free on the destination disk, there isn't enough free space for the temp files on the temp disk. The ability to bypass the temp folder and unzip directly to the destination would be useful in these cases.

Otherwise, thanks for a lightweight and high-quality program!
-M

favorini
08-04-2008, 04:27 PM
How about having the following options for temporary folder:

Primary temporary folder options (radio buttons)
- Use Windows TEMP
- Use archive folder
- Specific folder (allow user to browse)

Checkbox: Use secondary temporary folder if primary does not have sufficient room.

Secondary temporary folder options (radio buttons)
- Use Windows TEMP
- Use archive folder
- Specific folder (allow user to browse)

Checkbox: Prompt for folder if primary/secondary folder(s) do not have sufficient room.

If the latter checkbox is checked, user is prompted to browse for a folder when jZip can't find a temporary folder with enough space. I am not sure if there is a way to estimate needed temp space. If not, allow user to specify a threshhold in MB (and possibly also in % of archive size?) as one of the temporary folder options. In any case, if the disk fills up during the operation, jZip should failover to secondary temp folder and then prompt user, if so configured.