swfupload

SWFUpload with rails

Hey. I try to use SWFUpload Javascript/Flash library for uploading files in my Rails (RoR) app. Upload works with standard form but with SWFUpload I get "HTTP Status: 422" error code. Can someone tell me how to fix that? ...

swfupload destroy session? php

hy, i need a little help here: i use SWFupload to upload images! in the upload function i make a folder call $_SESSION['folder'] and all the files i upload are in 1 array call $_SESSION['files'] after uploads finish i print_r($_SESSION) but the array is empty? why that? this is my upload.php: if($_FILES['image']['name']) { list(...

swf file upload control not filtering the files for the second time

iam using swf file upload control in my application developed in asp.net & c#.net. i am having a dropdown box with file types like jpeg,.xls ,.txt etc. so when i select particular file type in the dropdown and clicking on the button would open a filedialog showing only the files of the type selected in the dropdown. The problem is th...

SWFUpload is it possible to upload multiple files to a single php script execution

Hello, I'm trying to implement SWFUpload into an existing PHP upload funcitonality. My current backend script however expects 2 fiels to be uploaded in a single php script execution. (e.g. it excepts the $_FILES parameters to contain 2 entries). So i'm queueing 2 files with SWFUpload and start uploading them. However it appears SWFLUpl...

How can you assign multiple Javascript functions to the upload_start_handler for WordPress's SWFUploader instance?

I've got 2 WordPress plugins (PhotoSmash and TwitPic-It) that need to hook into the SWFUploader for the Media Uploader in WordPress. SWFUpload has a setting "upload_start_handler" where you can specify a javascript function that will run immediately before the upload begins. The trouble is that I need to assign 2 different functions to...

swfupload + upload.class in the same php project

Hi, i have a project with upload.class from php and swfupload. Im also using zend framework, so i init upload.class in the bootstrap file. Both uploads are working well, but when i init the upload.class, through a require once, the swfupload stop working. When i try to upload an image, appears the message error 500... can´t They work...

Im having trouble getting SWFUplader to play ball in my codeigniter application

I have this peice of code in my handler.js, I'm getting the correct serverData value throught ajax, ( Well it's echoed correctly un the alert box) but no matter what, i just cant seem to enter either of the 'if' blocks. I have double checked the type and it is a string. Something is definetly funky. function uploadSuccess(file, serverDa...

How to get image capture date and video duration when uploading files using SWFUpload and Paperclip on Rails

Hi Guys, I'm using SWFUpload and Paperclip on Rails 2.3.5 to upload images and videos. How can I store the capture date of images and duration of videos? The following works correctly in irb: irb(main):001:0> File.new('hatem.jpg').mtime => Tue Mar 09 16:56:38 +0200 2010 But when I try to use Paperclip's before_post_process: before_...

SWFUpload and long filenames.

Everything is working fine with SWFuploader, however when uploading files that have longer filenames the SWF applet expands to become wider then my content pane. Does anyone have a method or hack to trim the filename and alt text fields of SWFUpload? ...

swfupload - get image dimensions

First of all congrats to everyone for a great job. swfupload is a very good and quality tool. My question would be, is there any method in the script to check the dimensions of the image and if the dimensions are not correct display warning popup and not save the image. Thanks in advance. ...

SWFUpload "addPostParam" doesn't work

Hi, I've been testing this upload script and it looks really good, but i just can't get it to post values, that i have extracted from inputs. Everything is looking good and it seems I'm writing everything correctly but it just stops SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0, there's my piece of code which causes these troubl...

How can I get the SWFUpload button to display properly?

It seems that when I configure SWFUpload the same way it is set up in the demo, the form shows the same other than where the browse (hello) button is located. The only differences are the locations of files and the image used for a browse button... any ideas? ...

Rails and SWFUpload: Sporadic Failure on Upload and Response Issue

I've got SWFUpload version 2.5 beta 3 attached to my Rails 2.3.2 application and it works great 75% of the time. The other 25%, I get types of failure. The first failure is a failure to upload. The activity starts, but never actually sends the file to the servers. In my JS, when setting breakpoints, it stops between setting the post pa...

Can't retrieve an id through swfupload

I'm having trouble retrieving an echoed ajax response through SWFupload. Upon uploading a file, my account.php?action=uploadphotographs echos the number 37, the text field hidFileId should then be updated with this data. I'm not sure if the file is ever properly being submitted. Is there something wrong with my code? Heres a link to ...

SWFUpload hangs when upload completes

I have SWFUpload version 2.2.0 installed on my server. I have yet to get it to work correctly. I am also using the jQuery plugin for it (http://blogs.bigfish.tv/adam/2009/06/14/swfupload-jquery-plugin/). My problem is that it will work properly until I give it a real file's URL. It works when the server serves the 404 code, but even when...

swfupload doesnot work on windows 7, ie8

swfupload doesnot work on windows 7, ie8. We have been trying to fix this from long time, it would be great if some one can help. ...

need an example of using SWFUpload with java

hey guys i am new to SWFUpload , and i am reading the documentation now, and i need an example using SWFUpload with java please, thank you. ...

How do I upload a file when I know the client's filepath?

I'm interested in the way Sonic Living detects your iTunes library XML file. It prompts the user to approve its actions, then automatically uploads the XML file based on the client OS (and assuming the default installation path of iTunes). How the heck does it do that? None of the upload libraries I've looked at have this feature. They ...

how to sending extra parameter (key/value) to an asp.net page using swfupload

hi, we are using swfupload for the sake of uploading process in our project but we need add some extra parameter and send them via swfupload to aps.net page how can I do this? is it possible at all to passing extra parameters to a server-side page by using swfupload? regards. ...

Send Email Confirmation on SWFUpload

Not sure if too many of you are familiar with SWFUpload. It's a flash/js/php based uploading script. My main issue is that I'm decently fluent in php where I can create a simple mail() script, however, with the various JS files I'm not sure if it'd be better to create the mail function in JS. If anyone has had experience with SWFUpload ...