Search

GlobalSCAPE Knowledge Base

Could not decompress a file using event rule

ramiroguzman
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT, v7.x and later

SYMPTOM

Getting an error when EFT is decompressing a file using even rules decompress action.

ERROR Event.CompressDecompressActions <> Compression Agent has return code 102 : 'Invalid input magic number.'

CAUSE

EFT will throw an error if it is unable to decompress a file with an invalid format or if the file was created with a different compression format. File extensions are typically used to determine the compression method used; however, in some cases files can be named with a file extension that is not the compression format. When you specify the format used to decompress a file and the file was created with different format, EFT will fail to decompress the file, throwing error messages like the one in this article.

Compression format standards use an internal file signature within the file content called "magic number" or "magic bytes" to identify the compression format used. Visit https://en.wikipedia.org/wiki/List_of_file_signatures for more information.

RESOLUTION/WORKAROUND

Change your event rule action to use "AutoDetect" or identify the file that is failing and make sure the file is using the correct format that matches the extension.

Details
Last Modified: Last Week
Last Modified By: kmarsh
Type: ERRMSG
Rated 4 stars based on 1 vote
Article has been viewed 6.6K times.
Options
Also In This Category