miru87
miru87

Reputation: 496

Appengine Error Ignoring file too long

I'm new in appengine, i'm trying to deploy my project but i have error:

ERROR appcfg.py:2189 Ignoring file 'odm2.txt': Too long (max 32000000 bytes, file is 56182913 bytes)

It is possible to upload this file without split?

Upvotes: 0

Views: 610

Answers (2)

Stuart Langley
Stuart Langley

Reputation: 7054

But you can upload it to Google Cloud Storage, and then access it from your app using either the BlobReader API or the Files API.

Upvotes: 1

Nate
Nate

Reputation: 925

According to Google:

A maximum size of files to upload, as a number of bytes. Files larger than this size will not be uploaded. The default is 10485760. The server currently enforces a maximum file size of 10,485,760 bytes, so increasing this value will not have any effect.

Interestingly, that page must be out of date if it's telling you that the max currently is 32000000 bytes. However, there doesn't seem to be any way to work around that.

What kind of file is odm2.txt? Is it something you're going to be storing in the datastore?

Depending on what you need to do with it, you could upload it to the blobstore, within your app itself.

Upvotes: 0

Related Questions