Roundcube Community Forum

 

download all attachments in one zip file

Started by JohnDoh, February 21, 2010, 06:45:44 AM

Previous topic - Next topic

osos

Great plugin.

Here is the Danish translation

JohnDoh

Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Schmatze

Hi, I changed line
if (substr_count($p['content'], '<li>') > 1) {
to
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

  • voltron81

    #18
    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

    JohnDoh

    Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

    ABerglund

    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

    JohnDoh

    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...

    ABerglund

    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

    rosali

    I have the same problem here. I will check if RarArchive does the job.
    Regards,
    Rosali

    rosali

    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

    rosali

    Everything is fine after upgrading to PHP 5.3.1
    Regards,
    Rosali

    JohnDoh

    thanks for getting to the bottom of this rosali
    Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

    rosali

    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

    JohnDoh

    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...

    volcano

    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.