plupload

Processing PLUpload uploads with node.js

♀尐吖头ヾ 提交于 2019-12-08 01:48:48
问题 I'm attempting to create a server-side upload component in node.js, but I'm having trouble interpreting the information sent from PLUpload. From what I can tell, PLUpload (in HTML5 mode) sends files as binary information, which creates problems for the node.js packages I've been attempting to use so far (node-formidable and node-express), as they expect normal HTML uploads with multipart content types. For what it's worth, this is the code I've been attempting to use... var formidable =

Why am I getting a “Security Error” from plupload on IE8/IE9 when uploading over HTTPS?

两盒软妹~` 提交于 2019-12-07 21:00:45
问题 I'm using plupload to upload files to an ASP.NET WebAPI service. It works fine in Chrome, and it works fine in IE8/IE9 on my development machine. When I connect to the website on the actual server, however, uploading a file causes plupload's error handler to fire with an error code of -400 and an error message of "Security Error." Looking at the response and request headers everything looks ok. The response even contains the correct return value! I'm guessing this has something to do with

How to use multiple instances of plupload on single form

大憨熊 提交于 2019-12-06 21:18:30
I want to use multiple instances of plupload on single form. I saw the following link. But i dnt know how to implement that in wordpress. jsfiddle.net/X65zF/36/ . So I can upload images from first upload link, then documents from second upload link etc.. This is my html code <a id="aaiu-uploader" class="aaiu_button" href="#"><?php _e('*Select Images (mandatory)','wpestate');?></a> <input type="hidden" name="attachid" id="attachid" value="<?php echo $attachid;?>"> <input type="hidden" name="attachthumb" id="attachthumb" value="<? php echo $thumbid;?>"> This is my js code jQuery(document).ready

Processing PLUpload uploads with node.js

我是研究僧i 提交于 2019-12-06 14:05:26
I'm attempting to create a server-side upload component in node.js, but I'm having trouble interpreting the information sent from PLUpload. From what I can tell, PLUpload (in HTML5 mode) sends files as binary information, which creates problems for the node.js packages I've been attempting to use so far (node-formidable and node-express), as they expect normal HTML uploads with multipart content types. For what it's worth, this is the code I've been attempting to use... var formidable = require('formidable'); var sys = require('sys'); http.createServer( function( req, res ){ console.log(

Why am I getting a “Security Error” from plupload on IE8/IE9 when uploading over HTTPS?

本小妞迷上赌 提交于 2019-12-06 12:42:44
I'm using plupload to upload files to an ASP.NET WebAPI service. It works fine in Chrome, and it works fine in IE8/IE9 on my development machine. When I connect to the website on the actual server, however, uploading a file causes plupload's error handler to fire with an error code of -400 and an error message of "Security Error." Looking at the response and request headers everything looks ok. The response even contains the correct return value! I'm guessing this has something to do with using https, but I'm not sure and it does work correctly in Chrome. (Firefox has a completely different

Undefined error in plupload dispatchEvent on Mac Safari

▼魔方 西西 提交于 2019-12-06 11:29:34
问题 I am experiencing weird errors on Mac Safari with plupload.js. The method dispatchEvent has this line: evt.type = eventType; It sometimes throws this error: TypeError: undefined is not an object (evaluating 'evt.type = eventType')" userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12 The evt object is declared at the top of the method: var evt = {}; It is not re-declared anywhere below. I am not able to reproduce

Plupload crossdomain upload 200 http error

别来无恙 提交于 2019-12-06 05:51:50
I would like to upload files to a remote server using the plupload library. Everything works with Chrome (32.0) and IE 10 using the html5 runtime but when I try with Firefox 27 (html5 runtime) or IE 8 (html4 runtime) I get an error Error #-200: HTTP Error. . Clientside script : $(function() { var uploader = new plupload.Uploader({ browse_button: 'browse', url: 'https://remote.com/API/action.php', runtimes : 'html5,flash,silverlight,html4', flash_swf_url : './js/Moxie.swf', silverlight_xap_url : './js/Moxie.xap' }); uploader.init(); uploader.settings.multipart_params = { [...] }; // PreInit

Plupload multiple instances

☆樱花仙子☆ 提交于 2019-12-06 04:33:59
问题 I'm trying to set up unknown number of plupload instances on page. I need to dynamically add more instances and remove and reset some of them. I have the general idea, but nothing works. One of my tries is on jsfiddle. Thank you for all the help. Code: var uploaders = new Array(); initUploaders = function(uploaders) { console.log("initUploaders()"); $(".gallery").each(function() { var el = $(this); var button = el.attr("id") + "_uploader"; console.log("Init uploader id:" + el.attr("id")); var

Direct Upload to S3 Using Python/Boto/Django to Construct Policy

我是研究僧i 提交于 2019-12-06 03:09:35
问题 I have been through many iterations of this problem so far, searched out many different examples, and have been all through the documentation. I am trying to combine Plupload (http://www.plupload.com/) with the AWS S3 direct post method (http://aws.amazon.com/articles/1434). However, I believe there's something wrong with the way I am constructing my policy and signature for transmission. When I submit the form, I don't get a response from the server, but rather my connection to the server is

plupload smartphone and tablet browse button event not firing

别来无恙 提交于 2019-12-05 21:41:30
I use plupload on a metronic bootstrap framework. On desktop it's working fine but on smartphone or tablet, my browse button is not opening the window to select files. <div class="col-md-8"> <div id="engine"></div> <div id="dev_uploader"> <div id="filelist"></div> </div> <a id="addImg" class="btn btn-bg btn-block"><i class="fa fa-plus"></i> add attachement</a> here is the plupload script : jQuery(function() { var uploader = new plupload.Uploader({ runtimes : 'html5,flash,silverlight,gears', browse_button : 'addImg', container : 'dev_uploader', drop_element : 'dev_uploader', max_file_size :