Skip to content
WJunction - Webmaster Forum

Rapidleech unzip question

Status
Not open for further replies.
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.

About the author

C
Active Member · Joined
wife and kid, tv shows (Heroes, Lost, Supernatural, Criminal Minds, Dexter, Two and a Half Men)
101
Messages
0
Reactions
16
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom