How to download a file with its original filename from GAE's blobstore?
问题 Once you upload a file to the blobstore, it renames it something like "s9QmBqJPuiVzWbySYvHVRg==". If you navigate to its "/serve" URL to download the file, the downloaded file is named this jumble of letters. Is there a way to have the downloaded file retain its original filename when uploaded? 回答1: When the file is uploaded using the BlobUploadHandler the original filename is stored as name property in the newly created BlobInfo entity. In the blob serve handler, you can specify that the