|
|||
|
hi there. well got this little question if its possible to do. i have done a browse file and copy the file to a different folder/location. however, i would like to ask if its possible to extract a zip file which is copied (e.g. C:/zipFiles) and extracted to a different folder (e.g. c:/extractedZipz) using SWFKit Pro.
thanks. :-X
__________________
canned_tooth |
|
|||
|
|
|
|||
|
hi. thanks for the reply. i tried to look at it and sure looks fine to me. i hope this was tested in SWFKit pro. i have to check on how to use it cuz the sample they gave was made thru VB and i dont have it installed
anyway, if anyone had used this before... i hope i can get tips how to use it.thanks guys! :-\
__________________
canned_tooth |
|
|||
|
That one needs the vb runtime library to work. There is another one http://www.codeproject.com/atl/sawzip.asp
The attached file is a recompiled version, it doesn't need any external dlls to run. Code:
var zip = new ActiveXObject("SAWZip.Archive");
zip.open("c:\\test.zip");
for (i = 0; i < zip.files.count; i++)
{
var file = zip.files[i];
trace(file.name);
file.fullpath = true;
file.extract("c:\\test");
}
http://www.swfkit.com/swfkit/doc/pro_manual/node32.html |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|