none
how to solve :library cannot extract this entry. version required is (788) problem RRS feed

  • Question

  • Hi,

    I am using ICSharplib.dll in order to zip/unzip the files. but i am not able to unzip the files which are zipped in unix and linux based.

    version required (788) displays ,Can u please suggest how can i solve this problem. or apart from this which dll  i can use for zipping/unzipping where i can resolve  my version required problem.

    Thnaks,


    rishi [URL=http://miniclipgames.name/ ]miniclip[/URL], [URL=http://www.btjunkie.name/ ]btjunkie[/URL], [URL=http://www.freedownloadgames.name/ ]games[/URL]

    Monday, October 22, 2012 5:25 AM

Answers

  • unix and linix zip files don't use the same algorithm as a window zip file.  Use the classes UUENCODE and UUDECODE classes in the Net Library.

    http://msdn.microsoft.com/en-us/library/xxy0t9kh(v=vs.90).aspx

    The article below is from 2003 but you may want to read.  the winn32 functions can still be called using the dlls.  The www.pinvoke.com website has sample code for using the winn32 functions in C#.

    http://msdn.microsoft.com/en-us/magazine/cc164129.aspx

    UUENCODE/UUDECODE is just the algorithm to change the files to ASCII characters.  Unix also use TAR algoritm to make an archieve file containng mutliple source files (similar to zip).  Nortmally the process is to call TAR and then UUENCODE when zipping files and use UUDECODE and then TAR when unzipping files.

    When convertint ascii files between unix and windows you have to remember that the end of line characters ('\n is CRLF while unix is '\r'  CR) are different and you must compensate in your code for the difereneces.


    jdweng

    Monday, October 22, 2012 7:06 AM