Door Games Unlimited

Welcome, Guest.


Subject: Adding supported_formats to Archive Date: Sun Oct 04 2026 09:42:25
From: deon To: nelgin

  Re: Adding supported_formats to Archive
  By: nelgin to Digital Man on Sat Oct 03 2026 03:50 am

Howdy,

 > I'm wanting to add .gz files as supported types for Archive.
 >
 > I added gz as a supported type in scfg > File Options
 > but I get the following:
 >
 > bbs@bbs:/sbbs/mods$ jsexec -n archive read /var/log/sbbs/web.sbbs.log.1.gz
 > !JavaScript  /sbbs/exec/archive.js line 49: Error:
 > archive_read_open_filename() returned -30: Unrecognized archive format
 > !Module (archive) set exit_code: 1
 >
 > I've obviously missed a step but I'm not sure what. Open to suggestions?

"gz" files are not an archive? "gz" is a compression method and represents a sin
gle file compressed.

eg: "tar.gz" is a tar file (an archive), but its been compressed by "gz".


...δεσ∩

---
 ■ Synchronet ■ AnsiTEX bringing back videotex but with ANSI

Previous Message       Next Message
In Reply To: Adding supported_formats to Archive (nelgin)
Replies: Adding supported_formats to Archive (nelgin)