Skip to content Skip to sidebar Skip to footer

Upload From Android On Python Appengine And Read The File

I want to send a csv file from Android to Python AppEngine. I'm using the Blobstore API and to send the file, I use MultipartEntity, HttpPost and HttpGet. So, according to the Blob

Solution 1:

When I send the file to the url the AppEngine returned, this will automatically call the server method UploadHandler?

Correct.

When I send the file to the url the AppEngine returned, this will automatically call the server method UploadHandler?

Show us your server logs - what URL are you getting the 404 for? Do you get any log messages from the upload handler?

After I upload the file, how can I parse the csv file in the server and insert all the data in the file to the datastore?

Use the BlobReader API, and pass the opened file to the python csv module.

Post a Comment for "Upload From Android On Python Appengine And Read The File"