*, the previous work needs to upload the files in the local folder (multi-layer), but the page operations are all the file paths on the server, so
Changed the idea: compress the target folder, upload it to the server, then decompress it to the designated location on the server, and finally execute the customization
Just do it.
The following are some of the tools used, haha, I am just a porter of the code ~ everything is used by me!
*, java language decompress rar compressed file
Quoted from: http://www.cnblogs.com/yuanjun1/p/3929971.html
*, java language decompress zip archive
Quoted from: http://blog.csdn.net/lbf5210/article/details/51206642
Remarks: There is a complete code in the attachment, I am just a porter of the code, haha