Yes, Couchbase Lite for .NET has a convenience API to use zipped files with the correct directory setup. There are a number of unit tests to check this functionality. Try using a different zip software I guess? Many of the manufacturers make some proprietary changes in the way they implement zip structure, and you might have created one that ICSharp cannot handle.
On Thursday, July 30, 2015 at 2:32:10 AM UTC+9, Julio Albuquerque wrote: > > I did not understand then! > The function says the file should be compressed and contain all the > necessary database files. > I'm using Couchbase.Lite .NET version 1.1.0.1 with Xamarin Android. > > See the function parameters: > > Manager.ReplaceDatabase( string name, Stream compressedStream, bool > autoRename) > > In parameter compressedStream information is: The zip stream containing > all of the files required by the DB. > Summary: Replaces or installs a database from a zipped DB folder structure. > > In my zip file contains three files: db.cblite, db.cblite-shm and > db.cblite-wal. > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/f83b1fa6-7faa-4627-813e-7ebddaa2e3d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
