File Bulk Download

background With the development of digital media, more and more media files are produced every day. Scenes involving fil...

background
With the development of digital media, more and more media files are produced every day. Scenes involving file download become more and more common during the daily use of the system. This sets new requirements for the experience of file download. In order to improve the friendliness of file download function, it is necessary to provide file package download function.

major function
Packaging Compression for Multiple Files: Packaging Compression (7z, tar, zip format) for multiple files that need to be downloaded. You can also download compressed files.

Code Address
[email protected]:gts-compress/compress-parent.git
example
Sample Code
📎compress-sample.zip
setting.xml
📎settings.xml
Instructions
Introducing dependencies

<dependency> <groupId>com.aliyun.gts</groupId> <artifactId>compress-starter</artifactId> <version>1.0.0-SNAPSHOT</version> </dependency>

Add Configuration

gts: compress: path: file-path: "D:\\test\\result\\ # File Cache Path compress-path: ""D:\\test\\result2\\" # Compressed File Cache Path

If this configuration is not added to the configuration file

18 September 2021, 19:25 | Views: 7390

Add new comment

For adding a comment, please log in
or create account

0 comments