Technology moves fast! โšก Don't get left behind.๐Ÿšถ Subscribe to our mailing list to keep up with latest and greatest in open source projects! ๐Ÿ†


Subscribe to our mailing list

form-upload

Form upload demo for Qiniu Cloud Storage

Subscribe to updates I use form-upload


Statistics on form-upload

Number of watchers on Github 29
Number of open issues 7
Main language Python
Average time to merge a PR 9 days
Open pull requests 4+
Closed pull requests 1+
Last commit over 5 years ago
Repo Created about 6 years ago
Repo Last Updated over 1 year ago
Size 317 KB
Organization / Authorqiniu
Contributors2
Page Updated
Do you use form-upload? Leave a review!
View open issues (7)
View on github
Fresh, new opensource launches ๐Ÿš€๐Ÿš€๐Ÿš€
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating form-upload for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Qiniu Form Upload Demo

Qiniu Logo

SDK

Web (html)

APImultipart form

<form method="post" action="http://up.qiniu.com/" enctype="multipart/form-data">
  <input name="key" type="hidden" value="<Your file name in qiniu>">
  <input name="x:<custom_field_name>" type="hidden" value="<Value of your custom param>">
  <input name="token" type="hidden" value="<Your uptoken from server>">
  <input name="file" type="file"/>
</form>

token token

sdk tokentoken50token https://portal.qiniu.com/ tokenaccessKey/secretKey token Web accessKey/secretKey

DEMO

  • https://github.com/qiniu/form-upload/tree/develop/web

Flash (action script)

Web Flash http

var u :URLRequest = new URLRequest('http://up.qiniu.com');
u.method = URLRequestMethod.POST;
u.requestHeaders = [new URLRequestHeader('enctype', 'multipart/form-data')];

var ur :URLVariables = new URLVariables();
ur.key = '<Your file name in qiniu>';
ur.token = '<Your uptoken from server>';
ur['x:<custom_field_name>'] = '<Value of your custom param>';

u.data = ur;

f.upload(u, 'file');
// f is File or FileReference is both OK, but UploadDataFieldName must be 'file'

f.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, uploadedHandler);

protected function uploadedHandler(event:DataEvent):void
{
  trace(event.data);
  //{
  //  "hash":"<File etag>",
  //  "key":"<Your file name in qiniu>",
  //  "x:<custom_field_name>":"<Value of your custom param>"
  //}
}

@mani95lisa https://gist.github.com/mani95lisa/7912530

form-upload open issues Ask a question     (View All Issues)
  • over 5 years ่ฏท้—ฎไธŠไผ ็š„ๆ—ถๅ€™ๆœ‰ๅŠžๆณ•ๆŒ‡ๅฎšๆ–‡ไปถๅญ˜ๅ‚จ็š„ๅŽ็ผ€ๅ—
  • over 5 years please add jsonp callback parameter
form-upload open pull requests (View All Pulls)
  • a demo of how to upload to qiniu on frontend
  • fix b64decode
  • Feature/add ruby demo
  • Develop-Yang Wang
form-upload questions on Stackoverflow (View All Questions)
  • Registration form - upload image
  • PHP Form Upload - Extension invalid when file left blank
  • Nodejs multer express display a file to client after form upload
  • Unable to perform form upload
  • file and form upload at the same time using ajax in java web
  • Multipart Form Upload Image and Json
  • Multi-part form upload using Alamofire and BOX API
  • Submit form upload with ajax and jquery
  • Codeigniter file form upload
  • Vertx3.0 Simple Form upload
  • Can't create row because give null image path on form upload
  • multiple form upload with image in php mysql
  • form upload image by FTP doesn't work, shows a white square instead of the image
  • PHP FORM UPLOAD
  • Multipart form upload of binary file using casperjs outside of state machine (can't use fill)
  • Access to file path on form upload with Iron Params
  • Targeting 'Open' Button On Form Upload
  • Laravel 5 Form upload direct to S3 Bucket not working
  • Load data in file from form upload
  • AFNetworking 3.x multipart form upload
  • uploading text blob as file using $http or $resource with angular.js - mimicking curl style multipart/form upload
  • Multipart form upload in ios, How is it done?
  • php form upload and remane image then insert into DB
  • Select an image form upload table
  • Django Form Upload Files no data in request.FILES
  • Difference between multipart form upload and NSURLSession.uploadTaskWithRequest
  • Exactly duplicating a multipart form upload
  • Can't upload file via Symfony 2.8 form upload
  • Sending form upload file as an attachment without database
  • Dojox Form/Upload behavior on file selection
form-upload list of languages used
Other projects in Python