Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请有人帮助我。我想以zip、rar、tar 格式压缩一个文件夹(包含图像和文本文件以及几个子文件夹) ,然后将其提供给用户下载。是否有任何类/api/库/代码可以这样做。
我正在研究 Joomla CMS。
问候,
沙虎。
Joomla 的 API 中有压缩和解压缩功能。
请参阅 JArchive 上的文档:
更新后的文档链接: https ://api.joomla.org/cms-3/classes/JArchiveTar.html