After uploading a file to the blobstore via base64 gives me the wrong file
size when retrieving the blobinfo. This happens on the dev and production
side of app engine. Is there a work around or am I missing something?
private String getRequest_Image(String fileName, String contentType, String
file) {
String s = "";
s += "Content-Disposition: form-data; name=\"File\"; filename=\"" +
fileName + "\"\r\n";
s += "Content-Transfer-Encoding: base64 \r\n";
s += "Content-Type: " + contentType + "\r\n\r\n"; //
s += file;
s += "\r\n";
return s;
}
http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload - my
blob notes
http://code.google.com/p/gwt-examples/wiki/gwt_hmtl5#Upload_Canvas_Image -
upload via request builder
Brandon Donnelson
http://gwt-examples.googlecode.com
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-java?hl=en.