No, I haven't tried this. Do you think that will make a difference though? I'm afraid the code that might need to be changed is in the flash application itself... not in javascript or python. Unless, there is some part of the SWFUpload API that would be able to correct this problem, but I am skeptical.
Anyone here had any success with SWFUpload and Python/GAE? If so, any tricks or things to be aware of? On Dec 19, 2011, at 12:34 PM, Brandon Wirtz wrote: > You tried dumping the headers on Python and PHP and comparing if GAE is > missing something? > > The EdgeCache I think sometimes removes stuff... But I can't Prove it yet... > > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Nick Nielsen > Sent: Monday, December 19, 2011 12:20 PM > To: [email protected] > Subject: Re: [google-appengine] Re: SWFUpload with Python in App Engine > > Yeah, I've seen this blog post. I don't really feel like it's relevant. > HTML5 is not an option for me because I want IE7 & IE8 users to use this > feature. > > Also, the handlers in Python aren't what seem to be giving me the problem. > Like I mentioned before, I can get a Python handler to return > "self.response.out.write('success!')" with a simple <form action="handler" > method="post" enctype="multipart/form-data"> tag and <input type="file"/>. > > Also, the SWFUpload seems to work fine with PHP. So it seems as if Python > needs something it's getting from the <form> that the SWFUpload flash file > is not sending. I'm stumped. > > I suppose I could switch to plupload, but this SWFUpload problem needs to be > solved eventually anyway, right? > > -Nick > > On Dec 19, 2011, at 7:46 AM, Joseph Letness wrote: > >> Hi Nick, I implemented a progress indicator using html5 a few months >> ago. If I remember correctly, the main issue I had with using the >> blobstore was getting my ajax request headers correct. Take a look at >> this blog post by Nick Johnson where he uses Plupload (which uses SWF) >> as his client for for the blobstore: >> >> http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-the >> -Blobstore-API-part-2 >> >> By looking at how he wrote his upload handlers I was able to adapt it >> to my use case. >> >> Hope this helps, good luck! >> >> --Joe >> >> >> >> On Dec 17, 12:34 pm, Nick <[email protected]> wrote: >>> Hi all. I'm trying to upload video files to blobstore with SWFUpload. >>> I've tested my code with PHP and it's working fine. I've also tested >>> a regular HTML multipart/form-data upload with App Engine in Python >>> and that also works fine. But for some reason beyond me, when I use >>> SWFUpload and submit to a Python handler in App Engine, the upload >>> simply fails, with no error or progress feedback. >>> >>> What's going on? Is there something special I need to do to get >>> SWFUpload to work? Maybe it has something to do with GAE/Python >>> needing the multipart/form-data header? >>> >>> Can't find any discussion on this topic with a google search. Any >>> advice would be very appreciated. >>> >>> -Nick >> >> -- >> You received this message because you are subscribed to the Google Groups > "Google App Engine" 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?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" 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?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" 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?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
