fine-uploader

fineuploader server side renaming the file before the put method

泄露秘密 提交于 2019-12-12 02:53:54
问题 Just starting to test the FineUploader and I wonder: When FineUploader uploading files directly to a blob container on azure, I see the files (guid name instead of the original). Is there any option to set on the server side the file name and the full path to save the file ? 回答1: Yes, you can retrieve the name for any file before it is uploaded from your server via an ajax call and supply it to Fine Uploader Azure by making use of the fact that the blobProperties.name option allows for a

What is actually itemLimit in FineUploader?

廉价感情. 提交于 2019-12-12 02:23:39
问题 I am successfully using FineUploader with Amazon S3 but when the item limit is set, let's say to "3", I am not able to upload more than 3 files unless I refresh the page. So, what do you mean by "session" when saying in the documentation: "Maximum number of items that can be potentially uploaded in this session. Will reject all items that are added or retried after this limit is reached." I thought that "session" is one upload round - take 3 files and upload them, then take 3 more or less

My file gets uploaded with my fineuploader setup but yet it shows upload failed. What is the reason for this?

旧城冷巷雨未停 提交于 2019-12-12 01:34:48
问题 I'm using fine uploader in a rails application and I've made a gist of what my method and my jQuery script looks like here Here's my console log and here's my upload returning failed when it actually didn't fail: I thought this was just with my development server where files are being uploaded to FS but I tried it with my staging server that sends the files to a CDN server and it is still successfully uploaded with the same upload failed prompt: 回答1: It looks like you are not including the

Add field for each file in fine-uploader

旧时模样 提交于 2019-12-12 00:50:53
问题 Trying to implement Fine-Uploader for first time. There's a way I can add a text-field for each file pending uploading? I want the user to comment the content of each file and than save these informations. Thanks for explanations. Dario. 回答1: If you want to add an input text field next to each file represented in the UI (I'm assuming you are using FineUploader mode), you can do the following: Set the autoUpload option to false. This seems obvious, but I thought I should list it anyway. If you

No vaild message received from loaded iframe for iframe

假如想象 提交于 2019-12-11 21:26:06
问题 Some help with the following please. Hi Ray, I am now getting response correctly back for IE7/8. However it comes back immediately, where firefox is taking its time to upload with a percentage bar to indicate this. I am worried cause someone may upload and then see it is done then save and the video won't be there. Any suggestions as to why IE7/8 would show response immediately. Hope that makes sense Thank you for response, however still did not work. Get upload fail. Do I pass the response

Invalid policy document or request headers

不问归期 提交于 2019-12-11 20:38:23
问题 I have been struggling to see some light on Fine Uploader and getting "Invalid policy document or request headers!" My java script var s3Uploader = new qq.s3.FineUploader({ debug: true, element: document.getElementById('fine-uploader-s3'), template: 'qq-template-s3', request: { endpoint: "http://xx_mybucket_xx.s3.amazonaws.com", accessKey: "xx_my_access_public_key_xx" }, signature: { endpoint: "http://localhost/app/ci/php-s3-server/endpoint-cors.php" }, uploadSuccess: { endpoint: "http:/

FineUploader: Add/change validation rules on onValidate/onValidateBatch callback

白昼怎懂夜的黑 提交于 2019-12-11 20:23:23
问题 On a page, a fineUploader dropzone is created with some initial validation settings. Before the user hits the Upload button, a few validation settings may change. How to make fineUploader to replace the initial validation rules with the new ones? I have an application that allows you to create ads of different sizes and i want to use the qq.ImageValidation to validate the image ad dimensions. 回答1: How to make fineUploader to replace the initial validation rules with the new ones? You cannot.

Customer parameter are not going through for file delete

淺唱寂寞╮ 提交于 2019-12-11 15:06:46
问题 I have setup to directly upload image to s3 bucket and I am using fine uploader for that. I am trying to send filename as parameter (to end point) while deleting a file. Given below is callback snippet . onDelete: function(id) { $(this).setDeleteFileParams({ filename: this.getName(id) }); } It is working fine for newly uploaded files, but I already have files through initialList (Option) and when I try to delete them the filename param is not going through. 回答1: You are not using the jQuery

Fineuploader taking too long to upload files in IE9

China☆狼群 提交于 2019-12-11 13:56:00
问题 Hi I am using fineuploader 3.3.0 version. I am facing problem with fineuploader in IE9 . as fine uploader does not support sizeLimit in ie9. I am checking the file size at server side with simple contentlength check if (this.Request.Files[0].ContentLength > 5242880) . but it took 1-2 mins to get this response. Also the 1.4 MB file is taking too long to upload. Can some one please let me know what is causing it, following is the fineuploader code I am using:- $('#restricted-fine-uploader')

Using Fineuploader with ASP.NET webforms. access to strict mode caller function is censored

寵の児 提交于 2019-12-11 11:27:34
问题 I am currently using fineuploader with ASP.NET webforms and am encountering a problem with strict mode in FireFox. ASP.NET webforms has a javascript file (microsoftajaxwebforms.js) that contains the following code (This is used to postback to the server and call the passed event, ex. Save below.): _doPostBack: function(a, k) { var f = window.event; if (!f) { var d = arguments.callee ? arguments.callee.caller : null; if (d) { var j = 30; while (d.arguments.callee.caller && --j) d = d.arguments