[pmwiki-users] download all files

adam overton a at plus1plus1plus.org
Thu May 8 06:44:20 CDT 2008


hi
i asked this question ages ago, ...

> 	is there currently an easy way for a user to visit a page and click a
> 	button that automatically downloads all the files from that group?


... and never heard back from the list, but just realized tonight  
that i might try modding the BackupPages recipe to only compress and  
download a particular group within the uploads folder... and was  
successful for the most part in getting something to work (though  
it's not so "smooth" looking), with an action called 'uploads2zip'.

i've added my mod to the bottom of BackupPages: http://www.pmwiki.org/ 
wiki/Cookbook/BackupPages ...

perhaps someone might have some suggestions for how this could be  
"smoother" - i.e. is there a way to do this archiving without having  
it redirect to the ugly results page, and instead just have the file  
automatically begin downloading? (i tried calling the 'download_files 
()' function, thinking maybe that would do it, but nothing seemed to  
happen...)

and if anyone has any better suggestions to go about doing this, i'd  
be happy to hear them...

best,
adam




> Message: 2
> Date: Sat, 26 Apr 2008 02:12:23 -0700
> From: adam overton <a at plus1plus1plus.org>
> Subject: [pmwiki-users] download all files
> To: pmwiki-users <pmwiki-users at pmichaud.com>
> Message-ID: <393336C8-1E44-4255-B26B-A088FF4DCAF2 at plus1plus1plus.org>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>
> hi
>
> is there currently an easy way for a user to visit a page and click a
> button that automatically downloads all the files from that group?
>
> thanks!
> adam



More information about the pmwiki-users mailing list