Yes, you need store it as blob data.
When you output it, you need do this way:
self.response.headers['Content-Type'] = 'audio/mp3' # or other type
self.response.out.write(audio.content) # 'content' is the blob property
2009/5/19 Felipe <[email protected]>
> Thanks but I need to be able to store binary files dynamically. I.e files
> that users can upload and download. It appears I can store binary files in
> the AppEnginw database as a Blob.
>
>
> On May 19, 2009, at 3:02 AM, 风笑雪 <[email protected]> wrote:
>
> Use static files in your app.yaml.
> 2009/5/19 Felipe < <[email protected]>[email protected]>
>
>>
>> Can anybody point me at the appropriate api?
>>
>>
>>
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---