Page 1 of 1

Does File Already Exist?

PostPosted: Tue Oct 31, 2006 3:27 am
by wizzkidd
At first you may think this is a FSO thing, but taking a second look, it doesnt seem so, unless im mistaken.

Imagine that you have a zip file called 'myZipFile.zip' that contains:

myfile1.jpg
myfile2.jpg
myfile3.jpg

however, myfile1.jpg, myfile2.jpg and myfile3.jpg already exist on the server in a folder called "myUnzipDir"

The files within the myZipFile.zip are completely different from the existing ones in the myUnzipDir, and I would like to keep both, but when i perform the unzip routine they files are not replaced nor added in any other way! Is there a way that i can rename these files so that i can keep all 6 files (the 3 new files from the zip, maybe with a new name), and keep the 3 files on the server untouched?

Any ideas?


Fatal error: Not able to open ./cache/data_global.php in D:\Hosting\6480136\html\ForosBB3\includes\acm\acm_file.php on line 106