How to get FileInfo/gcs file_name for files uploaded via
BlobstoreUploadHandler?
blobstore.parse_file_info(cgi.FieldStorage()['file']) method doesn't work
for BlobstoreUploadHandler, the FieldStorage seems to be for regular
uploads
There is no gcs filename information inside the blob_info that the regular
blob_info from self.get_uploads provides
It seems only a blob_key can be accessed using the regular methods,
however a gcs file_name seems to be the safest bet for future
How can I get gcs file_name of a file uploaded to an url from
blobstore.create_upload_url with gs_bucket_name argument?
No comments:
Post a Comment