swfupload

rails 3 swf_upload InvalidAuthenticityToken and sending cookie session

Hi guys. I have a swfupload working with paperclip on rails 3 (finally!) I turned off the autehnticitytoken with the following line in my controller: skip_before_filter :verify_authenticity_token, :only => :create I know am trying to get sessions working (flash doesn't send this) Of course i googled my ass of but no luck so far. thi...

SwfUpload and jquery .show and .hide

I'm trying to get swfUpload to work in my application for file uploads. It works, but I want to show the file upload only if the user clicks on a button (for design reasons, and because I need to have other values available on the page before this upload is created). But in order to wait to show this upload, I have to hide the form with...

SWFUPLOAD stuck on pending

Hi all, im trying to use swfupload on my website and have followed all the instructions to the bone. now, when i select a file, all i see is pending.. it never goes any further. here is my implementation var swfu = new SWFUpload({ upload_url : "urtupload.php", flash_url : "swfupload/swfupload.swf", flash9_url : "swfup...

Change directory in swfupload jQuery plugin?

I'm trying to use the swfupload plugin to upload files. The thing is, I want the user to be able to switch the directory to upload to. The strange thing is (and maybe this is due to my limited knowledge of jQuery) that it seems like I have the correct directory when checking it with an alert, but still the upload goes to the previously ...

Paperclip to upload images to S3 in Rails. The files upload at a very slow rate. A work-around?

I'm working on a rails app where the user will be uploading large quantities of images. My current setup: Using SWFUpload to upload multiple files at once using the Paperclip plugin with S3 storage. After the original image is uploaded to S3, Delayed_Job is used for the post processing (thumbnails, etc). The problem I have is that the...

swfupload won't allow me to upload from a server to another one

hi , we have two webserver and we have dedicated the task between these two servers. we've decided to put all the asp/aspx page into one server and put an upload.aspx + sql server into another one: and here is name of the servers : http://server1.somecompany.com // this is where all the pages reside + swfupload http://server2.somecomp...

How to resize images with SWFUpload?

I'm using the Flash component SWFupload to handle image uploads on my site. The latest version (2.5 beta) apparently can resize images on the client side before upload, however I have not been able to find any examples for this. I've got the basic upload working, I just need to add the resizing in. Has anyone used this before? ...

SWFUpload working fine ... but not on the test server.

Ok, so after a bit of a struggle, I got a customized button for SWFUpload. It's a transparent overlay over an inactive button. This works fine on localhost, but when I build to the test server ... it doesn't. When I remote into the test server, it also works. By 'working' I mean the 'browse' dialog. When I click on the button on the te...

Jquery: Trigger Embedded Object click by clicking a Div?

Hi there! I am trying to trigger an embedded object click by clicking on another div, this is the code ive tried: $('.action-upload').livequery(function() { $(this).click(function() { $('#button').trigger('click'); }); }); this is the code that comes up for the embedded object in firebug: <object width="114" height="29"...

Best/Fastest way to UPLOAD files

My users need to upload large amounts of files to a site (only HTTP access). Also, no matter how much I tell them to shoot the pictures in low resolutions they keep coming back with Massively sized images. Obviously, they complain that it takes them to long to upload all the files thru a simple HTML form - I'm planning on switching to SW...

can't make jquery SWFUpload post data

hello, i'm using django and i've the following template for uploading files using SWFUpload the sxf object show, the download prosses seam to be working but wen the progress bar reatch 100% nothing append next, there is no post data receved by the sever. did someone know where i'm wrong? debug: SWF DEBUG: Event: uploadError : IO Error ...

SWFUpload+IHttpHandler is waiting to buffer entire file

I am currently having a problem using SWFUpload to upload a file and using an HttpHandler to handle the upload. As soon as the Context.Request.File["Filedata"] object is accessed it waits for the entire file to buffer. This prevents me from quickly validating based on things like the filename. Also I'm mainly concerned because the beh...

Problems uploading huge files via browser

Hello. I developed an application with FLEX, Flash and PHP that it's so so a CMS for a customer. One of the functions that this application has it's to allow the exchange of files, uploading and downloading them from the application. What I noticed it's that the application wont let the upload of huge files, files over 10 MB are discta...

SwfUpload's params are not set correctly

I'm renovating an application to work through AJAX. Unfortuantely, the action url in my form is getting messed up somehow. Do you know why this is? Currently my swfupload param of : upload_url: $('#new_video').attr("action"), is returning a SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 302. SwfU...

swfupload + classic asp

hi, i'm trying to run swfupload on classic asp, unfortunately i'm missing infos on how to process the upload in asp + aspupload - i'm looking for some sample scripts. any ideas? thanks ...

swfupload + jquery: upload_complete_handler not firing

hi all, i'm trying to assign a done-event to the upload_complete_handler for swfupload, unfortunately nothing happens. in my settings i have: upload_complete_handler : function(){ alert("finished"); } all parameters seem correct, i've already tried deactivating my upload script. any idea what could be wrong? thx ...

Can I make SWFUpload automatically cancel its upload when navigating to a new page?

I've got a web application that allows asynchronous upload of large files using SWFUpload. But if the user tries to navigate to a different page while an upload is in progress (by clicking a link, say) the browser waits until the upload completes before it actually goes to that page. Is there some way to make navigation automatically can...

jQuery + swfupload: z-index problem

hi, i'm using jquery + swfupload - the problem: when displaying a jQuery dialog, the swfupload-button always is on top and is overlapping the dialog window. i've already tried increasing the z-index of the dialog but didn't help. any ideas how to fix it? thx ...

PHP + SWFUpload - cookie set problem.

I have an upload system based on SWFUpload which calls PHP script. The problem is that in case of any problem with the uploaded file (too small image dimmensions, too short mp3 file etc) the system is supposed to throw an error, by setting the cookie with error message (this is the way the whole CMS handles errors). The problem is that c...

Rails 2.3.10, Paperclip and s3 dead slow and would like to Ajax

I'm using Paperclip and s3 to upload a simple Image file on article. I've browse all these tutorials explaining on how to actually make a delayed job, for the images, but i feel that they're too old and perhaps there's an easier way to accomplish this. My question is, what's the "rails" (quick and easy) of accomplishing an flash/ajax upl...