Questions tagged [ssziparchive]

ZipArchive is a simple utility class provided for zipping and unzipping files on iOS and Mac programmatically.

SSZipArchive ZipArchive is a simple utility class for zipping and unzipping files on iOS and Mac.

  • Unzip zip files
  • Unzip password protected zip files
  • Create new zip files
  • Append to existing zip files
  • Zip files
  • Zip-up NSData instances. (with a filename)

Project git repository

62 questions
1
vote
1 answer

Get filenames of files unzipped with SSZipArchive

I am using SSZipArchive for iOS. Is there a possibility to get the filename of every file unzipped with: [SSZipArchive unzipFileAtPath:zipFile toDestination:docDir delegate:self]; I tried to get it with -…
TomWayne
  • 230
  • 2
  • 11
1
vote
1 answer

from the zip file not able to fetch data from the document directory

i am downloading a zip file and saving in document directory. and then making unzip using the ssziparchive . but not getting any data from the zip file .how to fetch the data .and i am not able to see where is my unzip file .in document directory…
Sport
  • 8,570
  • 6
  • 46
  • 65
1
vote
1 answer

Decompress gzip compressed file on iOS (using Objective-Zip or SSZipArchive)

I am looking for an easy way to decompress a gzip-compressed file on iOS. I found the libs "SSZipArchive" and "Objective-Zip" but I can't get neither to work. My impression is that both try to handle my file as a zip archive and therefore fail to…
Jens
  • 6,243
  • 1
  • 49
  • 79
1
vote
1 answer

Lot of errors in Xcode every time I'm trying to add ZipArchive or ssziparchive

I have a project in which I need to add the ZipArchive files and unzip a file I download but every time I try to do that i get this errors after i set everything(adding zlib in the linker and everything needed for the files to work). I add all the…
Eli Braginskiy
  • 2,867
  • 5
  • 31
  • 46
1
vote
1 answer

minizip/unzip.h file not found

I am making an app which zips/unzips files into documents directory using the SSZipArchive from this following github link. Then I added the following to my Xcode project, Add SSZipArchive.h, SSZipArchive.m, and minizip to your project. Add the…
Shantanu
  • 3,086
  • 3
  • 25
  • 32
1
vote
2 answers

It is allowed to use ssziparchive library in the App Store?

Due to cryptography export regulations, it is possible to use this library? or which one could I use to compress/decompress files?
aprunedamtz
  • 169
  • 2
  • 10
0
votes
1 answer

xcode Unzip Downloaded issue

I'm working on typical newsstand app and I have problem with unzipping downloaded file. -(void)connectionDidFinishDownloading:(NSURLConnection *)connection destinationURL:(NSURL *)destinationURL { // copy the file to the destination directory NSURL…
Luin
  • 1
  • 1
0
votes
0 answers

Getting error UNZ_BADZIPFILE in iOS when unzipping gzip file that is created in windows

We have a C# windows console application that compress an SQlite file using System.IO.Compression.GZipStream. After compression of SQLite file, we are pushing the compressed file(.gzip) to a server where iOS will download it. Our problem is that…
ramdev
  • 137
  • 1
  • 9
0
votes
0 answers

Trying to zip up 4000 images in iOS using swift

I have tried SSZipArchive, Zip, and ZipArchive. I have 4000 images and after zipping 1 random file always has a zero length. It’s never the same file. I just cannot understand why all 3 do the same thing. The resulting zip files are over 8 GB.…
f15radar
  • 1
  • 1
0
votes
0 answers

SSZipArchive not unzipping

I have the following code: print("Zippath is "+zippath) print("unzippath is "+unzippath) print("url path is "+url.path) let fileManager1 = FileManager.default if fileManager1.fileExists(atPath: zippath) { print("Archive…
f15radar
  • 1
  • 1
0
votes
0 answers

iOS/Swift: How to unzip files by importing Github (or else) files manually? Error Domain=SSZipArchiveErrorDomainUserInfo failed to open zip file

I tried to use the ZipArchive framework for unzipping a zip file, but I don't understand the problem. It doesn't tell me some error, but I could not find my unzipped files/folders. // Unzip let sourceURL =…
ΩlostA
  • 2,501
  • 5
  • 27
  • 63
0
votes
1 answer

unzip downloaded zip file using SSZipArchive

the code i used for downloading the book is .. //Create URL to the source file you want to download let fileURL = URL(string:myFileURL) let sessionConfig = URLSessionConfiguration.default let session = URLSession(configuration:…
0
votes
0 answers

I want to crete a zip file with multiple images in it and get the entire zip file and send to sftp server

I am trying create a zip file from the contents of another directory in NSdcomentDirectory. I am using "SSZipArchive" for this. But When I try to get the zip file its not available.Here is my code which I am trying. ` NSString *stringPath =…
0
votes
1 answer

No Such Module 'SSZipArchive' using Carthage XCode 8.1

i want to add SSZipArchive to my project. I already run carthage update, add SSZipArchive.framework to embedded binaries and Linked Frameworks and Libraries i also check Framework Search Paths and it's located right and have the file…
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42
0
votes
1 answer

Dont Zip File (stay in createZipFileAtPath)

I Used ZipArchive From Github when i want upzip file by SSZipArchive.unzipFileAtPath , i can unzip file but after i want zip file by SSZipArchive.createZipFileAtPath( : _ , withFilesAtPaths: _ ) waiting and not finished (cpu and memory is full used…
mohsen
  • 4,698
  • 1
  • 33
  • 54