Hi,

I have a download function.

def download():
    return response.download(request, db)

in my controller i have a line of code:

    elif field_type == "UPLOAD":
        field_value = A(T("Download attachment"), _href=URL("default", 
"download", args=asset_value.upload_value), _target="blank")

Generated link is:
http:
//127.0.0.1:8000/init/default/download/no_table.attachment.8c9b795c20c58264.4173736573736d656e7454797065732e786c7378.xlsx

When i try to download this file i get 404 error, although file is uploaded 
where it should be. 

What am i doing wrong, is it because of xlsx extension?

-- 

--- 
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/groups/opt_out.


Reply via email to