Rapidleech unzip question

Status
Not open for further replies.

Ccucu

Active Member
101
2008
0
70
Hello.
Is there a way to make unzip overwrite the existing files in folder?

For instance I have several zip files and in each file there is an important file and a readme.txt file.
The script extracts the first file and at the second one it gives error:
Some file(s) inside archive.zip already exist on download directory
and stops.

Any way to make it overwrite or skip?
 
1 comment
nevermind, found the solution...

For anyone else interested, in /classes/options/unzip.php file, find and delete:

foreach ($allf as $k => $properties) {
if (file_exists($options['download_dir'].basename($properties['file_name']))) {
$file_inside_zip_exists = true; break;
}
}
 
Status
Not open for further replies.
Back
Top