vb.net - Restrict file size using -
i have create sub routine using vb.net compress files "file.zip" file, problem "file.zip" must have maximum size of 2 mb. don't know how it, if it's possible. nice if has example show me.
it not possible in general case. example if have 2gb movie file, no lossless compression algorithm ever 2mb.
one solution "chunk" zip file. is, divide parts individually no more 2mb. 7-zip has support this. can use .net api vb.net. i'm not sure whether api provides direct support chunking. if not, can start 7-zip program using process.start()
.
Comments
Post a Comment