365 business development logo

The ZIP plugin in 365 business Proxy Application offers the option of creating, accessing or unzipping ZIP archives in the local file system, as well as on available network drives or UNC paths.

The ZIP plugin is one of the standard plugins of 365 business Proxy Application and can be installed directly from the Proxy Application Clients page.

Objects

The following procedures are available through bdev.PRX Proxy Application codeunit (ID 5523630).

Functions

Create ZIP compressed archive (ZipArchive)

success: Boolean := ZipArchive([clientId: Guid;] filePath: Text; archivePath: Text[; password: Text][; compressionLevel: Integer][; overwrite: Boolean])

Parameters

Return value

Returns true if the ZIP archive was successfully created.

Unzip a ZIP compressed archive (UnzipArchive)

success: Boolean := UnzipArchive([clientId: Guid;] archivePath: Text; extractPath: Text[; password: Text][; overwrite: Boolean])

Return value

Returns true if the ZIP archive was successfully extracted.

Unzip a ZIP compressed archive (ZipArchiveList)

[files: Record "bdev.PRX File Item" temporary :=] ZipArchiveList(var files: Record "bdev.PRX File Item" temporary[; clientId: Guid]; archivePath: Text[; password: Text])

Parameters

Return value

Returns files: Record "bdev.PRX File Item" temporary, with the contents of the ZIP archive.