Would it be possible support 'direct unpacking' from FTP during transfer ?
Not for all archive, RAR is the most popular one. It would mean include official unrar sources to engine (= removing external unrar.dll) - the functions you're calling from that DLL are defined in <unrarsrc>/dll.hpp (= no changes for you at all); you'd only call FTP reading from "FILE object" in <unrarsrc>/file.cpp. Thanks.
FTP - archive unpacking
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is problematic in case of aborted downloads: The unpacking would stop in the middle, which is normally not recoverable. Downloads, however, are normally recoverable.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I don't think it matters. If the downloads stops, it's ok.. we shall try to unpack again. Or even better, maybe TC could download the file (or index) somewhere in the background... and dearchivate from there. I don't know how exactly should work... but sometimes i have to download 500MB files just to extract 10KB files from inside... and that is bad. I hope it can be done.ghisler(Author) wrote:This is problematic in case of aborted downloads: The unpacking would stop in the middle, which is normally not recoverable. Downloads, however, are normally recoverable.