swfupload

Is there any memory restrictions on an ASP.Net application?

I have an ASP.Net MVC application that allows users to upload images. When I try to upload a really large file (400MB) I get an error. I assumed that my image processing code (home brew) was very inefficient, so I decided I would try using a third party library to handle the image processing parts. Because I'm using TDD, I wanted to fi...

Is POST as secure as a Cookie?

While implementing a flash-based uploader, we were faced with an issue: Flash doesn't provide the correct cookies. We need our PHP Session ID to be passed via a POST variable. We have come up with and implemented a functional solution, checking for a POST PHPSESSID. Is POSTing the Session ID as secure as sending it in a cookie? Possib...

Code samples for Django + SWFUpload?

Does anyone have any simple code samples for Django + SWFUpload? I have it working perfectly in my PHP application but Django is giving me headaches. ...

Large File uploading to asp.net MVC

I need a way to upload large files (600 mb to 4 gb) in an asp.net mvc website. Currently I am using swfupload; it works well enough, but it is a huge hit on the webserver because it sends it in one big upload, plus I have to set it in the web.config to allow that huge of a file, which is a huge security risk. In the past when I was doin...

Process the file before uploading it

I got a form with SWFUpload. Files uploaded to the server are converted server-side (video being compressed, images being resized etc) Question is - can i delegate some of the functionality to client-side (like image resizing), to save some bandwidth for user. ...

How do I set the uploaded files folder for SWFUpload?

I don't see in the documentation how to set the uploaded files folder with SWFUpload. Can anyone point me to the right direction? I'm using PHP 5 if it helps. ...

Using Rails with Paperclip and SWFUpload

I have a basic rails application test with a user model that has a photo field handled with paperclip. I created the views to be able to create/edit an user and the photo uploading is working nicely. <h1>Editing user</h1> <% form_for :user, @user, :url => user_path(@user), :html => { :method => "put", :multipart => true } do |f| %> ...

Rails swfupload and apache configuration issue

I am trying to use swfupload with rails . I configured everything , passing the session_id and authenticity token in the URL and it works great on my local environment ( webrick ) . However when I deploy it on production with Apache , everything works fine except the swfupload . I keep on getting 301 error code . After trying http sn...

swfupload not working with Flash 10

I'm using jquery and swfupload in order to upload files and photos. Worked fine till now, but it seems it doesn't like Flash 10. It stopped working the moment I upgraded Flash. Anybody had this problem? How did you solve it? Thank you very much! ...

SWFUpload - anyone familiar?

I'm experimenting with SWFUpload ( http://swfupload.org ) and I'm wondering if, in PHP, its data will still be in the $_FILES array. If not, where does it go? ...

Sessions when called by flash

Whats the best way to get around PHP's user agent matching for sessions without actually changing the global security setting? I can easily pass the session id from the page containing the swf into the swf. Note: This is for swfupload ...

ASP.NET HttpHandler authentication problem in non-IE browser

Hi, i have written a http handler for uploading multiple files from flex application. In explorer it works properly, but in other browsers i have problem obiously with forms authentication.. this is log of the request from Firefox, Opera, etc..: /admin/UploadProductImage.axd?User=a6s55d4as6&Id=33 status: 302 (Found) /admin/log...

How to make swfupload setPostParams work in firefox?

I want to set some params in my swfupload when some links are clicked, so i did something like this: swfu.setPostParams({"PHPSESSID": swfu.settings.post_params.PHPSESSID, "tutorial": tutorial, "step": nr}); (this is a tutorial editor and i want to know to which step the file belongs to) The postparams in the DOM is changed, but I ca...

swfupload failing in my django runserver

Hi All, I have copied and pasted the code from http://demo.swfupload.org/v220/simpledemo/ into a django template, but when I upload a photo, the demo says "Server (IO) Error" before it actually uploads the entire file. The runserver is getting the request and returning a 200. Is there something I am missing here? What steps should I tak...

Adding an html element using javascript makes other js wonky

Dear all: I have the following javascript code, which is modified from the SimpleUpload demo in SWFUpload. It's used to generate a temporary upload progress bar. It works fine, unless I add in the code which has been commented out. Basically, this line will break the presentation: this.fileProgressElement.appendChild(document.create...

Opening SWFUpload dialog w/o using a flash button?

SWFUpload has a parameter where you specify the button to be clicked to open a dialog. Is there a simple way to manually open the dialog box without the use of the SWFUpload-provided button? Main thing is I have multiple places on my page where I want an image to be replaced via SWFUpload and I don't really want to instantiate a new SW...

SWFUpload and Java: Session is lost.

I am using SWFUpload to upload files to java servlet (spring framework). The problem is that the current web session is lost during file upload (it creates a new session). I read that it is a known bug and there are some workarounds somewhere but I can't find anything. Does anyone know how to make it work? Thanks. ...

Testing SWFUpload with Cucumber

Hi all, In a project, I recently replaced a simple form-based file upload with SWFUpload. When SWFUpload returns a success, I generate a form to add tags to the uploaded asset. I'd like to be able to test inputting data into the tags textbox, but to do that I (think I) need to fake out SWFUpload. Has anyone done this in the past? I ...

Rails refuses to load a session from the data sent by swfupload

I'm using swfupload's most recent version, 2.2.0 and rails 2.3.3. Having seen a number of statements to the effect that I would have to replace CGI::Session.initialize with a chunk of code to extract the session from key-value pairs injected into my form url, I incorporated the code segment into my environment.rb: require 'cgi' class C...

What to do when there are two cookies with the same name in IE7?

Some background: CakePHP writes it's own session id cookie besides the PHPSESSID. This is used to authenticate a request. Then an SWFupload sends a file, and that token to authenticate, and is picked up as a new user agent - so in cakephp you must disable the "check-user-agent" security feature. On many browsers this is enough. IE7 ve...