HI @ChronnoCross Thanks for the code. Well i was thinking and reading LUA code and maybe i resolve your request(with minimal knowledge).
--how to read parts without merge those files?
Well the only trick i made is send the data to Buffer.
Example:
FA Next request the file to extract, so the code create the file "data.arc" with 0MB(like a temp file but isn't)
and send the data of data.part1, data.part2 and data.part3 to buffer. FA Next read the collected data from buffer and extract the files.
the file data.arc always have 0MB because with the LUA code "flush" you flush the buffer.
Code:
onArchiveStart(function ()
f = io.open(command.arcname, "wb")
f1 = io.open("data.part1", "rb")
f2 = io.open("data.part2", "rb")
f3 = io.open("data.part3", "rb")
f4 = f1:read("*all")..f2:read("*all")..f3:read("*all")
io.output(f:write(f4)):setvbuf("full")
end)
onArchiveDone(function ()
f = io.open(command.arcname, "wb")
f:flush()
end)
maybe we need to check the code or add some more lines