ArOZ Online File System Zipping Application, design to replace the legacy zipping PHP script.

root fa7048fac0 Update md64 binary 5 tahun lalu
test 58cf028880 Rebuild armv6l binary 5 tahun lalu
LICENSE 58cf028880 Rebuild armv6l binary 5 tahun lalu
README.md 58cf028880 Rebuild armv6l binary 5 tahun lalu
example command.txt 58cf028880 Rebuild armv6l binary 5 tahun lalu
fszip.exe 58cf028880 Rebuild armv6l binary 5 tahun lalu
fszip_amd64.elf fa7048fac0 Update md64 binary 5 tahun lalu
fszip_arm64.elf 8f1649b580 上傳檔案到 '' 5 tahun lalu
fszip_armv6l.elf 58cf028880 Rebuild armv6l binary 5 tahun lalu
fszip_i386.elf 15475ce087 Updated i386 binary 5 tahun lalu
main.go 58cf028880 Rebuild armv6l binary 5 tahun lalu
title.png 58cf028880 Rebuild armv6l binary 5 tahun lalu
title.psd 58cf028880 Rebuild armv6l binary 5 tahun lalu

README.md

fszip

ArOZ Online System File Explorer - File System Zipping Backgroundworker, design to replace the legacy zipping PHP script.

What is File System Zipping Backgroundworker?

File System Zipping Backgroundworker - Short for fszip, is a backgound working script that is design to replace the current PHP based zipping method used by the file explorer. This work similar to fsexec with asynchonized design to prevent the main PHP server from freezing due to the zipping process. This is particularly useful on low power host like the Raspberry Pi Zero series.

How can I use the fszip?

Although we strongly recommend using the fszip via file explorer API, you can call the binary directly with the following command.

./fsexec {uuid} {command_in_base64_encoded_JSON_string}

The command has to be in one of the format that fits the following rule

// Command Structure:
// [{"zip" / "unzip", "{source}", "{target}"]

//Examples
//["zip","test","test.zip"]
//Zip the folder "test" into "test.zip"

./fszip uuid1 WyJ6aXAiLCJ0ZXN0IiwidGVzdC56aXAiXQo=

//["unzip","test.zip","unzip"]
//Unzip the folder "test.zip" to unzip/

./fszip uuid2 WyJ1bnppcCIsInRlc3QuemlwIiwidW56aXAiXQo=

Log file and command conversion detail

Please take a look at fsexec's README file for more examples.

License

CopyRight Author Toby Chui under ArOZ Online Project, 2019