I want to audit the downloads - things like "which file was downloaded, by 
whom and when" etc - and then allow the download to proceed.

I looked at auth.settings.download_url - which is pointing to 
/app/default/download

So I put debugger (import ipdb;ipdb.set_trace()) in download() function in 
default controller.
But when I click on the file link to download - the execution *does not 
stop* in the debugger

I have several controllers - I assume for all the controllers - the 
download_url is same (since it is controlled via auth.settings)
But just to try - I added "download" function in my other controller as 
well (and put debugger) - still didn't help

What am I missing ?

-Mandar


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to