Ability to download individual attachment

Issue #28 resolved
Dimple Mehta created an issue

Is there any way to download individual attachment?

Comments (7)

  1. Janos SUTO repo owner

    currently no, but this could be a new feature. Is it OK, if you can see some download icons (with file types perhaps) in the lower pane, and by clicking on them you can download the selected attachment?

  2. Janos SUTO repo owner

    The feature is ready. Please download the master branch, and recompile it. There's a new utility (pileraget) to retrieve attachments. Please copy this file to your bin directory (eg. /usr/local/bin), and issue:

    chown piler:piler /usr/local/bin/pileraget
    chmod 6555 /usr/local/bin/pileraget
    

    Then replace your webui, and add the following variables to config.php:

    define('DECRYPT_ATTACHMENT_BINARY', '/usr/local/bin/pileraget');
    define('ACTION_DOWNLOAD_ATTACHMENT', 15);
    define('ACTION_UNAUTHORIZED_DOWNLOAD_ATTACHMENT', 16);
    

    If you haven't done it so far, then

    remove the following line:

    define('LANG', 'en');
    

    and add the following:

    define('DEFAULT_LANG', 'en');
    
  3. Log in to comment