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...
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...
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.
...
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...
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.
...
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.
...
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| %>
...
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...
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!
...
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?
...
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
...
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...
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...
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...
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...
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...
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.
...
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 ...
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...
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...