fine-uploader

Jquery Form Submission after file upload

爱⌒轻易说出口 提交于 2019-12-29 06:54:07
问题 I realise this variation of question has appeared many times, but none that I can find which answer this question in this kind of context. I am using a third party fileuploader, which utilises jQuery and gives a success callback when the file upload completes. What I want to achieve is a form with text fields, along with the fileuploader, which when you click 'Submit', fires off the upload function (and the file begins to upload with it's progress bar), and waits for the success callback

Setting up an upload server

微笑、不失礼 提交于 2019-12-26 10:38:00
问题 I have found the server scripts repository in the documents section, but I'm having trouble getting any of them to run. When I try the javascript file, for instance, I get numerous syntax errors, the first one being 'Expected identifier, string or number.' I'm not much of a java whiz, so I may be missing something obvious. This is the file I'm trying to use: https://github.com/Widen/fine-uploader-server/blob/master/java/MultipartUploadParser.java 回答1: Looking at the js code, two lines are

“Could not find the file list container in the template” error

久未见 提交于 2019-12-25 16:23:00
问题 I am getting message "Could not find the file list container in the template" appearing in my Javascript debug console when using fine uploader. Here is a jsfiddle example of the problem occurring. http://jsfiddle.net/Lu82ba9L/1/ The code from the example is repeated here <!-- using fine uploader 5.1.3 at http://keysymmetrics.com/jsfiddle/jquery.fine-uploader.js --> $(document).ready(function () { $("#fine-uploader").fineUploader({ debug: true, template: 'qq-template-bootstrap', request: {

fine-uploader azure originator in request instead of endpoint

假如想象 提交于 2019-12-25 12:54:28
问题 I am attempting to put blobs to azure storage and I believe I have the server side sas and azure CORS set up correctly. In my html I have var uploader = new qq.azure.FineUploader({ element: document.getElementById('fine-uploader'), debug: true, request: { endpoint: 'https://mystorage.blob.core.windows.net/mycontainer' }, signature: { endpoint: 'https://myserver/sas/' }, uploadSuccess: { endpoint: '/success' }, retry: { enableAuto: true }, deleteFile: { enabled: true }, cors: { expected: true,

Azure CORS Configuration

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 07:59:36
问题 I am using the azure.jquery.fineuplaoder-4.4.0 source and am getting these errors when I try to upload: OPTIONS http://gfbc.blob.core.windows.net/beta 403 (CORS not enabled or no matching rule found for this request.) XMLHttpRequest cannot load http://gfbc.blob.core.windows.net/beta. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://dev.gfbclife.org' is therefore not allowed access. I am using the default html template that is provided and calling

How to create a file blob for use with Fine Uploader api

给你一囗甜甜゛ 提交于 2019-12-25 02:53:58
问题 I'm using the cordova-imagePicker to get a local URL on Android and I'm uploading it with the cordova-file-transfer plugin. I would like to switch to Fine Uploader so I can make use of the resumable feature but the only api method I can find takes a file blob. How do I create a suitable blob given the path to a file or is there an api in Fine Uploader that will take a path? 回答1: The only way to programmatically add files to Fine Uploader via the API is the addFiles() function. It allows you

Re-use fine uploader code for multi instance

牧云@^-^@ 提交于 2019-12-24 15:26:50
问题 I am have multiple instances of fine uploader in a page. I do not want to repeat/duplicate fine uploader script and template for every uploader instance as it is lot of code in my case (6-8 uploader). I have following: $('#fine-uploader-manual-trigger-section1').fineUploaderS3({ template: 'qq-template-manual-trigger-section1', autoUpload: false, debug: true, request: { endpoint: $("#s3_url").val(), accessKey: $("#access_key").val(), }, }); $('#fine-uploader-manual-trigger-section2')

Fineuploader error handling

て烟熏妆下的殇ゞ 提交于 2019-12-24 13:41:03
问题 I'm using fineuploader v3.9 UI with the jquery wrapper within a MVC4 application. At this point, I believe that I should only allow files that are 2.5MB, as set by the validatieon sizeLimit property. My current problem is that when I upload a file type that's not supported or a file that's too large I get this error popup: The error handler doesn't seem to fire, and no breakpoints within my server side code are hit. That being said, when I select a small file, I can stop at a breakpoint in my

Name of Azure blob/filename when uploading

我只是一个虾纸丫 提交于 2019-12-24 12:33:58
问题 When I upload to azure container the filename that is saved is the uuid(guid) how can I change that? I create the signatur by using the querystring "bloburi" added in the signature request. $("#fine-uploader").fineUploaderAzure({ autoUpload : true, debug: true, validation: { itemLimit: 10, sizeLimit: 209715200 // 200 mb }, resume: { enabled: true, id: 'ResumeUpload', cookiesExpireIn: 7 }, extraButtons: { folders: true }, deleteFile: { enabled: true }, request: { endpoint: 'https://xxx.blob

FineUploader Wrong Getting Azure Blob Storage URI

允我心安 提交于 2019-12-24 08:06:32
问题 I'm trying to implement FineUploader React library into my React app to upload files to my Azure Blob Storage. Looks like for some reason, FineUploader is getting the blob storage URI wrong. This is how I instanciate a FineUploader in my test component: import React, { Component } from 'react'; import FineUploaderAzure from 'fine-uploader-wrappers/azure' import Gallery from './gallery/index'; const uploader = new FineUploaderAzure({ options: { cors: { expected: true, sendCredentials: true },