code-ninja has asked for the wisdom of the Perl Monks concerning the following question:
Hi again monks, I'm back with another Catalyst related doubt. Well, since my last post here I've learned Catalyst and recalled quite much about all the things I forgot about Perl (yippee!). The Catalyst app I'm working on now has a Login controller, a signup controller and even an upload controller and the best thing is, I coded them myself after understanding stuff from that Catalyst book.
The good thing is I'm stuck again. What my application does is, after logging in a user, asks them if they want to upload a file or view all files that are present on the server. I used Catalyst::Request::Upload plugin for letting the user upload a file. Now, when I list all the files, I want the user to be able to click on the name of the file and the browser should open the "Download File" dialogue box. I tried using Catalyst::Plugin::Static::Simple but I can't seem to figure it out. :/ :(.
Will any monk be kind enough to present me a step-by-step crash course on how to use C::P::S::S? Or a better question is, since I learn faster by examples, can any monk point me to a complete example that uses C::P::S::S? I did google about it, but it still is unclear.
PS: No, I'm not allowing the user to view ALL files on the server, just the files I put in the application_root/static/temp directory.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Catalyst Help once again (MANIFEST)
by Anonymous Monk on Apr 29, 2013 at 09:02 UTC |