uploadify

IE9: loading swf files takes very long

▼魔方 西西 提交于 2019-12-11 05:29:08
问题 When using Uploadify 2.1.4 on my (not local) server, all works fine in IE9. When moving the solution to the client's server, the loading of uploadify.swf takes exactly 60 seconds in IE9, but works fine in Chrome. IE9 displays it as "Pending". Accessing the swf directly works fine, headers show that both servers run Apache. I've only traced one similar incident on uploadify forums without any solutions. Uploadify code: $("#gallery").uploadify({ // Required Settings langFile : '/dataface/js

Uploadify in MVC3 does not work

时间秒杀一切 提交于 2019-12-11 05:19:34
问题 Can't get this to do anything. When I click 'Upload File' absolutely nothing happens as well as I don't see any of the flash rendered to the screen. I believe this is somehow related to the jquery, but I am not sure. PLEASE HELP! If someone can mail me a simple VS2010 solution with uploadify working to infinitimods at gmail.com that actually works I'd appreciate even more! Thanks a bunch! My Layout file: <!DOCTYPE html> <html> <head> <title>@ViewBag.Title</title> <link href="@Url.Content("~

Uploadify not working with ASP.NET WebForms

坚强是说给别人听的谎言 提交于 2019-12-10 23:55:25
问题 I'm trying to use Uploadify in a ASP.NET webforms project. The problem is that my script is not calling the generic handler. Here is the script. <input id="fileInput" name="fileInput" type="file" /> <script type="text/javascript"> $(document).ready(function() { $('#fileInput').uploadify({ 'uploader': '/Ferramenta/Comum/Uploadify/uploadify.swf', 'script': 'UploadTest.ashx', 'cancelImg': '/Ferramenta/Comum/Uploadify/cancel.png', 'folder': "/Ferramenta/Geral/", 'auto': true, 'onError': function

problem in sending form data with Uploadify

我的梦境 提交于 2019-12-10 23:44:09
问题 I am trying to send form's additional data with uploadify using scriptData but it does not send anything to backend PHP script. Can someone help me with it please? Here is what I'm trying.. Javascript: <script type="text/javascript"> $(document).ready(function() { $("#fileUpload").fileUpload({ 'uploader': 'uploadify/uploader.swf', 'cancelImg': 'uploadify/cancel.png', 'script': 'uploadify/upload.php', 'folder': 'files', 'multi': false, 'displayData': 'speed', 'scriptData' : {'name' : $('#name'

Symfony2 and Uploadify : security token is not kept

久未见 提交于 2019-12-10 17:23:36
问题 I'm trying to make Symfony2 and Uploadify working together in a secured area. (Uploadify is a flash/javascript component used to upload multiple files) My uploadify component is working fine when the back-end script route is out of the secure area, but when in this area, I get a 302 HTTP error. The log message is : security.INFO: Authentication exception occurred; redirecting to authentication entry point (A Token was not found in the SecurityContext.) While searching for an answer, I found

Uploadify pass formdata variable to handler.ashx

梦想的初衷 提交于 2019-12-10 12:20:01
问题 I am trying to send parameters from my .aspx page into my handler.ashx with the help of "formdata" in uploadify using .net and c# when I upload a file. The parameters are take from textboxes that have values in the. The code is: <script type = "text/javascript"> $(document).ready(function() { $("#<%=FileUpload1.ClientID %>").uploadify({ 'swf': 'Scripts/uploadify.swf', 'uploader': 'Handler.ashx', 'auto': true, 'multi': true, 'buttonText': 'Select File(s)', 'removeCompleted' : false,

Request.Files[“”] Keep returning null

此生再无相见时 提交于 2019-12-10 12:14:37
问题 Using uploadify to auto submit a users files, in my controller method Request.Files["Name"] keeps returning null but request.form isn't null, I can see the file in request.form when I set a breakpoint and debug it. Am I missing something? I'm testing this on mvc2 but i plan on using it on mvc4. <link href="../../Content/uploadify.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script src="../../Scripts/jquery

Uploadify uploadifySettings error in IE

限于喜欢 提交于 2019-12-10 11:51:51
问题 I am using the code for the uploading image using uploadify plugin, Its working fine in Firfox and safari, but not supported in IE $("#uploadify").uploadify({ 'uploader' : 'scripts/uploadify.swf', 'script' : 'scripts/upload_product.php', 'cancelImg' : 'images/cancel.png', 'folder' : 'ok', 'queueID' : 'fileQueue', 'auto' : false, 'fileDesc' : 'jksdhjsdf dsjdsfbfd s', 'fileExt' : '*.jpg;*.png;*.jpeg;*.gif', 'multi' : false, }); On Click on Buuton $('#uploadify').uploadifySettings('folder'

Strange CodeIgniter file upload error

自古美人都是妖i 提交于 2019-12-10 10:31:37
问题 I've set up 'Uploadify' to upload files to my server where I process them with CodeIgniter's file upload library. However, I think Uploadify changes the mime type of the files, or does something else weird which causes CodeIgniter to give a 'the file type is not allowed' error despite it being allowed. E.g I've allowed JPEG files but when I upload them using Uploadify, I get that error. Is there any workaround for this? Basically, I want only image uploads to be allowed, e.g .jpg, .jpeg, .bmp

Uploadify: Passing a form's ID as a parameter with scriptData

可紊 提交于 2019-12-10 09:42:50
问题 I need the ability to have multiple upload inputs on one page (potentially hundreds) using Uploadify. The upload PHP file will be renaming the uploaded file based on the ID of the input button used to submit it, so it will need that ID. Since I will be having hundreds of upload buttons on one page, I wanted to create a universal instantiation, so I did this using the class of the forms rather than the ID of the forms. However, when one of the inputs is clicked, I would like to pass the ID of