Author Topic: download all attachments in one zip file  (Read 30257 times)

Offline osos

  • Jr. Member
  • **
  • Posts: 11
Danish translation
« Reply #15 on: April 24, 2010, 07:27:53 AM »
Great plugin.

Here is the Danish translation

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
download all attachments in one zip file
« Reply #16 on: April 25, 2010, 03:58:57 AM »
thanks osos
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Schmatze

  • Jr. Member
  • **
  • Posts: 31
download all attachments in one zip file
« Reply #17 on: May 12, 2010, 07:55:57 AM »
Hi, I changed line
Code: [Select]
if (substr_count($p['content'], '<li>') > 1) {
to
Code: [Select]
if (substr_count($p['content'], '
  • ') > 0) {
    because I can't download *.html files correctly with roundcube. For more infos: http://www.roundcubeforum.net/5-release-support/17-pending-issues/6696-html-attachment-not-viewable.html#post27390

  • Offline voltron81

    • Jr. Member
    • **
    • Posts: 42
    download all attachments in one zip file
    « Reply #18 on: May 18, 2010, 06:18:19 AM »
    Cool plugin... :D

    So if I've correctly understand it, if I'm over a very slow connection, I will have a zip compression for my attachments...so I will use less bandwith...right?


    thanks
    Michele
    « Last Edit: May 18, 2010, 06:24:46 AM by voltron81 »

    Offline JohnDoh

    • Global Moderator
    • Hero Member
    • *****
    • Posts: 2,845
    download all attachments in one zip file
    « Reply #19 on: May 18, 2010, 12:50:32 PM »
    thats right
    Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

    Offline ABerglund

    • Global Moderator
    • Hero Member
    • *****
    • Posts: 673
    download all attachments in one zip file
    « Reply #20 on: May 18, 2010, 02:41:12 PM »
    Hmm. My zip archives all come down as damaged and un-openable. Running it on Fedora Core 10, PHP 5.2.9, Zip appears to be enabled per phpinfo(), but regardless of browser or OS, the file is bad. What am I missing here?
    Arne Berglund
    SysAdmin, Internet Services
    Lane Education Service District
    Eugene, OR, USA

    Offline JohnDoh

    • Global Moderator
    • Hero Member
    • *****
    • Posts: 2,845
    download all attachments in one zip file
    « Reply #21 on: May 19, 2010, 03:41:20 AM »
    thats odd. is there anything in the error log? have you looked if there is actually any data at all in the zip file?
    Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

    Offline ABerglund

    • Global Moderator
    • Hero Member
    • *****
    • Posts: 673
    download all attachments in one zip file
    « Reply #22 on: May 19, 2010, 11:40:49 AM »
    No, nothing in the error log at all. The plugin thinks it is working fine. There is no useable data inside the archive that I can get to. Attempting to open one in Windows delivers a generic "archive damaged" message. A Mac can open it, but it contains a different type of archive, which will expand into another zip, then another... in an endless loop.

    I suspect that this is not really a problem with the plugin, but more likely a problem with my PHP packages and or config. Any assistance there is welcome.
    Arne Berglund
    SysAdmin, Internet Services
    Lane Education Service District
    Eugene, OR, USA

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    download all attachments in one zip file
    « Reply #23 on: June 07, 2010, 11:06:35 AM »
    I have the same problem here. I will check if RarArchive does the job.
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    download all attachments in one zip file
    « Reply #24 on: July 06, 2010, 07:37:43 AM »
    It looks like zip in PHP 5.2.7 to 5.2.10 is buggy.

    addFromString produces corrupt archive if string is longer than 255 chars.

    PHP :: Bug #48763 :: ZipArchive produces corrupt OpenOffice.org files
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    download all attachments in one zip file
    « Reply #25 on: July 06, 2010, 01:44:44 PM »
    Everything is fine after upgrading to PHP 5.3.1
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline JohnDoh

    • Global Moderator
    • Hero Member
    • *****
    • Posts: 2,845
    download all attachments in one zip file
    « Reply #26 on: July 06, 2010, 02:00:19 PM »
    thanks for getting to the bottom of this rosali
    Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

    Offline rosali

    • Hero Member
    • *****
    • Posts: 2,533
    download all attachments in one zip file
    « Reply #27 on: July 06, 2010, 02:15:59 PM »
    To clarify: I debugged PHP 5.2.7 - 5.2.10 on Windows OS. Don't know if *nix OS is affected too. 5.2.6 is fine on Windows. Bug starts on PHP 5.2.7. Don't know if the bug was fixed on 5.3.0. But as said 5.3.1 is ok.

    JohnDoh, I've a credit next time when I'm again too dumb to adjust simple css files ;-)
    Regards,
    Rosali
    __________________
    MyRoundcube Project (commercial)

    Offline JohnDoh

    • Global Moderator
    • Hero Member
    • *****
    • Posts: 2,845
    download all attachments in one zip file
    « Reply #28 on: August 07, 2010, 07:39:43 AM »
    The repo version of this plugin has been updated to allow the downloading of entire folders and also of groups of messages as zip files. The various download options are also now configurable.

    These new options are only available in the repo version of the plugin at the moment, they are not part of today's 0.4-stable release.
    Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

    Offline volcano

    • Newbie
    • *
    • Posts: 5
    Re: download all attachments in one zip file
    « Reply #29 on: July 25, 2016, 07:29:44 AM »
    Hello. Plugin page in first post seems to be outdated. If I try to search it manually there is no page at all. Where can I find it? In the latest roundcube release I can't find this feature too.