I've used this plugin a lot, works fine: https://metacpan.org/pod/Mojolicious::Plugin::RenderFile

On 17/04/17 22:29, iaw4 wrote:

dear M experts---how do I give a specific name to a binary data format that the browser will download, such as

|
$c->render(data =>$zipfileinmemory,format =>'zip',name =>'backedup-at-'.time());
|

this does not work.  name is ignored.

also, is it possible to initiate a browser download and then redirect to another web page upon completion?

advice appreciated.

/iaw

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to