পণ্যের অংশে চলে যান
LCPanelলাইসেন্স সেন্টার প্যানেল
BXP BoxPuff টি অধ্যায়

BoxPuff ডকুমেন্টেশন

আর্কাইভ ম্যানেজার

মেম্বাররা ফাইল ম্যানেজারের মেনু থেকে ফাইল জিপ করেন, আর্কাইভ খোলেন, বড় ফাইল টুকরো করেন ও আবার জোড়া দেন; কাজ চলে পেছনের কিউতে। প্রিমিয়াম।

প্লাগইন হালনাগাদ ৬ নভে ২০২৬ ৩৪ / ৫০

The Archive Manager plugin adds four jobs to the file manager's right-click menu: Add To Zip/Rar, Extract Files, Split File and Join Files. The work runs in the background through a queue, so a member can zip a 10 GB folder, close the tab and come back to a notification that it is done; the result is a new file in their account.

It is for members who send collections of files as one download, who receive archives and want the contents as separate files, and who need a huge file in pieces that fit a mail attachment or a USB stick - without downloading anything to their own computer first.

Switching it on

Archive Manager is a premium plugin: it needs the archive-manager addon on your licence. Buy it at lcpanel.com, press Check again now on Admin → Configuration → License, then switch Archive Manager on at Admin → Extensions → Plugins (Manage Plugins). Its admin page appears under Extensions as Archive Queue (/admin/plugin/archive-manager).

Jobs are run by the cron job process_archive_queue (Archive queue, every minute) - see Scheduled jobs. Zip needs PHP's ZipArchive (it is on the Requirements list); rar needs the rar and unrar programs on the server.

Settings

SettingWhat it does
Max concurrent itemsQueue items one cron run works through (default 2).
Zip binary pathOnly when PHP's ZipArchive is missing: the folder of the zip program, e.g. /usr/bin/.
Rar binary pathThe folder holding rar and unrar (default /usr/local/bin/). Rar archives need it; without it the member is told to make a zip instead.
Zip compressionDeflate (smaller) or Store (faster).
Default split piece (MB)What the split prompt proposes (default 100).
Largest job (GB)A job whose files add up to more is refused (default 20).

What the member sees

In the file manager, the context menu of a file or a folder gains a plugin group:

Menu itemOnWhat it asksWhat happens
Add To Zip/Rarany file or folder, or a selection of themArchive name, Password (optional)One archive is made in the current folder. The name defaults to the first item's name (plus -and-more for several). Folders go in with their sub-folders.
Extract Filesa .zip or .rar filePassword (if any)The contents land in a new folder named after the archive, sub-folders kept. Paths with .. and files with script extensions are refused.
Split Fileany file that is not already a piecePiece size (MB)The file becomes name.001, name.002 ... of that size; a file smaller than one piece is refused.
Join Filesa file whose name ends in .001, .002 ...-The pieces of the same name in the same folder are joined back into the original file. Pick one piece and the others are gathered.

Every job answers at once with Queued: ... and runs in the background. The member's left rail gets an Archive queue link (/account?archives=1) that lists their jobs - type, name, status, when it was added, and a link to the result file when it is done. When a job finishes the member gets a notification: Zip "holiday.zip" is done. or Extraction "...": failed: ... with the reason.

The results are ordinary files: they count against the storage allowance, obey the package's Max Upload Size and go to a file server like any upload. The originals stay where they were.

The admin page: Archive Queue

Four figures - Pending jobs, Failed last 3 days, Total completed, Completed last 3 days - then every job: Date Added, Type (Zip, Rar, Extract, Split, Join), Name with the member, Status with the message when it failed, Date Started. Filter By status (Pending, Processing, Completed, Failed, Cancelled) or by Name. A pending or processing job has Cancel; a failed or cancelled one Retry; any row Delete. Run the queue now works a batch off without waiting for the cron. Finished rows older than 30 days are cleared by themselves.

Typical workflow

For the owner: switch it on, check the cron is running (Admin → System Tools → Background Tasks), and - if you want rar - install rar/unrar and set Rar binary path. For a member: select the files, right-click, Add To Zip/Rar, type a name and perhaps a password, carry on working; when the notification arrives, share the archive like any file.

Tips

  • A zip with a password uses AES encryption when PHP's ZipArchive supports it (PHP 7.2 or newer); otherwise the password is passed to the zip program.
  • Extracting a password-protected archive with the wrong password fails with "The archive could not be extracted (wrong password?)" - the member can Retry from their queue after a fresh attempt.
  • Largest job (GB) protects the server's temporary space: a job gathers its files locally (copies from a bucket or FTP server) while it runs, so uploads/tmp needs that much free room.
  • Split pieces download separately through the normal download page; to send them as one, the member can also use the file manager's own Download as zip (Downloads).
এটি কি কাজে লেগেছে?
এই অধ্যায়টি শেয়ার করুন