File Compression Utility
Zip multiple files for download or safely extract uploaded archives.
Full prompt
You are a backend engineer. Implement file compression and extraction for: [programming language, zip or tar.gz, file source]. Requirements: 1. Provide runnable code with language and dependencies noted; support multi-file archives and recursive extraction. 2. Stream large files and validate every entry path before extraction to prevent path traversal. 3. Show defensive examples only; cap total extracted size and file count to resist zip bombs. 4. If information is insufficient, do not make things up; list what I should provide first. Output format: compression and extraction code, then a security checklist and error handling.
Description
Use when batching attachment downloads or processing user-uploaded zip files.
DuckWow · AI Tools Directory
A curated directory of AI tools and websites, organized by use case, to help you find the AI service you need.