Comments (2)
I appears as though we overwrite what's there, without removing any old files. So, you end up with all the most recent files, but also any old files that happen to be in that directory.
I think this is a fine default (say you want to extract 10 zip files into one common dir), and you can use application logic to clear the old directory if you want. Its possible we may want to add support for "prompt for file overwrite", and/or support zip file directory listing so you can implement that yourself in application logic.
However, for now I'm closing this since I do not think it is a priority (though, patches are always welcome if you would like to add this feature).
from cordova-plugin-zip.
On iOS overwriting does no longer seem to work.
from cordova-plugin-zip.
Related Issues (20)
- ios error: undefined symbol _OBJC_CLASS_$_SSZipArchive HOT 1
- libcore.io.ErrnoException: write failed: ENOSPC (No space left on device)
- [Android] Wrong path separator
- Broken zip crash app (Android,Ionic3) HOT 1
- Status of this repo HOT 2
- Ionic 3, Work in Emulator. Failed in Device Ipad
- Please add options (replace or no replace),
- browser platform HOT 1
- Can you use the plugin to uncompress jar files ?
- Created zip file from binary response data using cordova-plugin-file. But not able to unzip that.
- Why is old version of SSZipArchive still used. HOT 1
- Can I uncompress a Zip with password? HOT 1
- Is there any zip functionalty(zipping a directory) in zip plugin HOT 1
- iOS location issue on uploading the appstore - ask for NSLocationAlwaysUsageDescription
- Problem ios with larger files
- I had a problem(Object(...) is not a function) with the call,I hope you can help me with this. HOT 5
- unzip() always return -1 on Android HOT 5
- iOS build "non-modular header inside framework" error HOT 6
- Zip Path Traversal vulnerability HOT 7
- IOs Version uses banned functions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-zip.