Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

upload blob to server

var file = $('#fileInput').get(0).files.item(0); // instance of File
$.ajax({
  type: 'POST',
  url: 'upload.php',
  data: file,
  contentType: 'application/my-binary-type', // set accordingly
  processData: false
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #upload #blob #server
ADD COMMENT
Topic
Name
4+2 =