+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20

Thread: Download folder messages as zip/tar plugin

  1. #1
    menno is offline Roundcube Newcomer
    Join Date
    Mar 2010
    Posts
    5
    Downloads
    0
    Uploads
    0

    Question Download folder messages as zip/tar plugin

    Is there any plugin that allows you to download all the messages in a folder as a zip file? So that users can backup their email folders easily.

    Dont want to re-invent the wheel.

    Cheers,
    Menno

  2. #2
    DefaultBR is offline Roundcube Newcomer
    Join Date
    Aug 2010
    Posts
    1
    Downloads
    1
    Uploads
    0

    Default

    no one?

  3. #3
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    i was thinking of adding this to my zip download plugin (which allows the download of all message attachments in 1 zip file) but tbh i didnt think there was any demand for it

    edit: these features are now part of the zipdownload plugin, they are only available in the git repo version atm
    Last edited by JohnDoh; 08-22-2010 at 10:38 AM.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  4. #4
    Mircea Tanciu is offline Registered User
    Join Date
    Aug 2010
    Posts
    14
    Downloads
    1
    Uploads
    0

    Default

    Hello,

    My users also tell me they need to download multiple messages for backup (or entire folder/folders) into one .zip archive file.
    Is there any plugin to achieve this(or any other way)?
    Thank you.

  5. #5
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    yea... please read the previous post...
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  6. #6
    Mircea Tanciu is offline Registered User
    Join Date
    Aug 2010
    Posts
    14
    Downloads
    1
    Uploads
    0

    Default

    Hi,

    I downloaded your lastest zipdownload plugin from http://github.com/JohnDoh/RoundCube-...p-Download.git but it does't work as I expected. When I try to open a file downloaded from an attachment, MetaData of that file is corrupted. (message error is: Loading meta information failed). Previous version of zipdownload plugin has no problems with file's metadata. I've seen that in this latest version of zipdownload.php you remove code "TNEF encoded attachment part".
    How can I fix this?
    Thank you.
    Last edited by Mircea Tanciu; 08-26-2010 at 11:28 AM.

  7. #7
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    are you using RC 0.4 stable?
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  8. #8
    Mircea Tanciu is offline Registered User
    Join Date
    Aug 2010
    Posts
    14
    Downloads
    1
    Uploads
    0

    Default

    I'm using RC Version 0.4-20100807

  9. #9
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    could you send me an example of such a message which doesnt download right and i'll take a look. i need the complete message please.

    roundcubepatches|at|tehinterweb|dot|co|dot|uk
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  10. #10
    Mircea Tanciu is offline Registered User
    Join Date
    Aug 2010
    Posts
    14
    Downloads
    1
    Uploads
    0

    Default

    Meanwhile I studied what is the difference between the same file downloaded with the two versions of zipdownload. Files downloaded with the new plugin is bigger with 2bytes than the ones downloaded with the older plugin. These bytes are inserted to the beginning of the file and are (in hexa): "20 0A". If I manually delete these bytes the file can be viewed just fine by any viewer that support that type of file.
    Maybe somewhere in the source code of the new plugin (or in other place of RC) is inserted a "space character + new line".
    I also tried to download all attachments in a .zip file and could not unzip that archive. The error displayed by my unzip utility is something like that:

    Archive: file.zip
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    unzip: cannot find zipfile directory in one of file.zip or
    file.zip.zip, and cannot find file.zip.ZIP, period.

    When I displayed the content of the file.zip in hexa, the same 2bytes are beeing inserted in the beginning of the file.zip and maybe before each file in the archive.
    Maybe the archive file.zip is bigger with (2 bytes * nr_of_files_in_the archive) than it should be.
    Last edited by Mircea Tanciu; 08-27-2010 at 10:15 AM.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts