File_Archive adds duplicate files in compressed file!!

From: Date: Sun, 13 May 2007 07:44:23 +0000
Subject: File_Archive adds duplicate files in compressed file!!
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27280@lists.php.net to get a copy of this message
Hi, i have a problem with File_Archive, it adds duplicate file into generated archive file when using a folder as source path. (it only happens if source folder has sub folders) i uses below code to convert a folder to File_Archive::setOption("gzCompressionLevel", 9); File_Archive::setOption("tmpDirectory", Cache_Folder_Path); File_Archive::extract( File_Archive::read($destPath), File_Archive::toArchive("GL2.tar.gz", File_Archive::toFiles(Cache_Folder_Path)) ); if event tried this option but nothing changed. File_Archive::setOption("appendRemoveDuplicates", tue); is it a bug? would u please tell me how can i solve it? -- Best Regards - Sina Salek : SINA.SALEK.WS

« previous php.pear.general (#27280) next »