ZIP

Frends.Zip.CreateArchive / 2.0.0

Summary

Packs files or whole folders into a ZIP archive, optionally flattening the folder structure, renaming duplicates and protecting the result with a password. The source files can be removed once packed.

Typical use — bundling a batch for transfer as a single unit; note that a ZIP password is weak protection, so use PGP for anything genuinely sensitive

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.0.02026-11-03
Changed
  • Breaking Merged the Source and Destination parameter tabs into a single Input tab. Renamed Source.Directory to SourceDirectory, Destination.Directory to DestinationDirectory and Destination.FileName to DestinationFileName; other source and destination properties keep their names.
  • The Task result now includes Success and Error properties.
  • Added ThrowErrorOnFailure and ErrorMessageOnFailure options. By default the Task still throws an error on failure; when ThrowErrorOnFailure is disabled, the error is returned in the result instead.
  • Upgraded the Task to .NET 8.
1.3.02025-12-29
Fixed
  • Fix repository url in metadata
1.2.02024-12-13
Changed
  • Drop DotNetZip in favour of ProDotNetZip because of security reasons
  • DotNetZip has a HIGH severity directory traversal vulnerability (CVE reported Nov 2024) affecting versions 1.10.1 through 1.16.0 with no patch available (package is deprecated)
  • The migration to ProDotNetZip 1.20.0 addresses this security concern
1.1.02023-11-27
Added
  • Breaking Added Encoding for file and directory names.
1.0.02022-02-23
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙