I think he should also take a look at this Mojolicious plugin! https://metacpan.org/pod/Mojolicious::Plugin::RenderFile

On 14/05/17 18:59, Dan Book wrote:
See this section: https://metacpan.org/pod/Mojolicious::Guides::Rendering#Serving-static-files

On Sun, May 14, 2017 at 4:02 AM, <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I have a zipped file in a directory (not 'public') and I want to
    do a link with which the user can download the file.

    Can please someone explain me how to do it ?

    Thanks :)

-- 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
    <https://groups.google.com/group/mojolicious>.
    For more options, visit https://groups.google.com/d/optout
    <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] <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