Unzipping ZIP files in NAV from version 2009 is realy simple:
Create function
Paramaters:
Var Name DataType Subtype Length
No InFile Text
No OutPath Text
Create local variable:
Name DataType Subtype Length
ZipWorker DotNet System.IO.Compression.ZipFile.'System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
and then function body:
ZipWorker.ExtractToDirectory(InFile, OutPath);
That's all
0