Home > By category > Scripts >Development Tools > urlreadpost - url POST method with binary file uploading (Sripts)



urlreadpost - url POST method with binary file uploading (Sripts)

  • Downloads: 
  • Views: 
  • Rating:

The HTTP 'POST' method is provided as a mechanism for uploading data as part of a URL request. There are two methods for encoding this data: application/x-www-form-urlencoded, in which each parameter is inserted as part of one long string, and multipart/form-data, in which each parameter gets its own MIME form-data block in the stream. This latter method allows the inclusion of large amounts of binary data (for instance, a POST which uploads a file) which is not possible with x-www-form-urlencoded.

Matlab's stock urlread does support the 'POST' method, but only with the x-www-form-urlencoded encoding. I wrote this replacement to be able to access web services that involve uploading binary files directly from Matlab. Here's an example, of uploading MP3 audio data to the Echo Nest Analyze API:

f = fopen('music.mp3');
d = fread(f,Inf,'*uint8'); % Read in byte stream of MP3 file
fclose(f);
str = urlreadpost('http://developer.echonest.com/api/upload', ...
{'file',d,'version','3','api_key','API-KEY','wait','Y'});

urlpost checks the type of the value part of each key/value pair, and encodes it as an octet-stream (binary) if it is not
char data. In practice, you should only pass byte data (e.g. the uint8 vector in the example above).

This function is a modified version of the urlread.m function that is part of Matlab R2010a. Also included is the stock urlreadwrite.m helper function since this is used by urlreadpost.m, but won't be found in its private location by default.

Free download from Shareware Connection - The HTTP 'POST' method is provided as a mechanism for uploading data as part of a URL request

Publisher: Dan Ellis | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 10-02-2013 | Rating: 0 | Title: urlreadpost - url POST method with binary file uploading (Sripts)

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/27189/2/urlreadpost.zip

More downloads from urlreadpost - url POST method with binary file uploading (Sripts) publisher Dan Ellis:

Time-frequency Automatic Gain Control (AGC) - This code implements automatic gain control for audio signals, which attempts to apply a smoothly-varying gain to an audio waveform in order to keep its energy close to some target level

Robust Landmark-Based Audio Fingerprinting - This landmark-based audio fingerprinting system is able to match short, noisy snippets to a reference database in near-constant time

mp3read and mp3write - These versions of mp3read and mp3write are direct drop-in

Time-domain scrambling of audio signals - These routines scramble an audio file by moving around short, overlapping windows within a local window

m4aread - read MPEG4 (AAC or M4A) compressed audio files - m4aread provides a drop-in replacement for wavread when the audio files are compressed using MPEG4 audio (AAC or M4A) format.

urlreadpost - url POST method with binary file uploading (Sripts) keywords:
urlreadpost - url POST method with binary file uploading (Sripts) related downloads:

Binary Document Object Model Viewer - Binary Document Object Model Viewer is a handy and reliable utility designed for convenient binary file analysis.

Open With Emacs - Open With Emacs is an application that has been built to serve as a work-around for the problem that exists with associating file types with programs located in other directories than the standard program directories in Windows Vista / 7.

qDecoder - CGI Library for C/C++ - The goal of qDecoder project is providing complete but simple and versatile CGI library for C/C++ language. It supports GET/POST query parsing including File Uploading, Cookie handling and Session management. FastCGI is also supported.

HexCmp - HexCmp is a program, which combines together the features of a binary file comparison application and a convenient hex editor. The program will help you to compare files in binary format, at the same time serving as a hex editor that will edit files.

ExeIcon.com Hex Compare - A binary file comparison and hex editor. Help you to compare files in binary format, serving as a hex editor. Allow compare two files and find every different easily.Save comparison to file.

Shareware Connection periodically updates pricing and software information of 'urlreadpost - url POST method with binary file uploading (Sripts)' from company source 'Dan Ellis' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'urlreadpost - url POST method with binary file uploading (Sripts)' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of urlreadpost - url POST method with binary file uploading (Sripts).

New Reviews

Panda Cloud Cleaner - PC security has become a tricky and complicated subject both for home users and network supervisors, with complexity and risk factors multiplying over the years. Using a single antivirus app may not be enough anymore. That explains why many users ...

TuckAway Intelligent Email Organizer Pro - Using an email software allow you to do a number of things including managing your address lists, emails and even ending memos, documents and even virtual letters. You can also use it to manage your tasks easily. The email software comes in ...

WebAcappella - Web design sector has witnessed several trends and technological innovations affect website development in big ways. With time, designing websites has become easier. Nowadays, you can find web design software that nearly eliminates the need to ...

Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...

Trend Micro HouseCall - With time, PC users find it increasingly difficult to keep their systems free of malware and rogue apps, despite using latest and feature packed security software. This is mostly owing to the evolving nature of malware and newer types of ...

Enpass Password Manager - With time, average PC users find it tedious to deal with oodles of passwords. For every online profile, whether it is social media or online banking, creating user name and password is required and after a time it can be cumbersome to handle them ...

Avira Ultimate Protection Suite - With time the importance of PC security has gone up by leaps and bounds. Earlier, people used to rely on standalone antivirus software. However, security conscious users prefer having a more robust form of protection. They opt for Internet ...

Spark Browser - Nearly every PC user needs to browse the web nowadays, irrespective of age and gender. Whether you use a laptop or desktop, it is mandatory to use a web browser to access web or download files. There was a time a majority of Windows users ...

Screenpresso Pro - Capturing screenshots and webcam streams can become a necessity at times for PC users. There was a time most users resorted to Windows bundled print screen utility but now there are so many choices to pick from. If you want a feature rich and ...

Adobe Media Encoder - Almost every PC user faces a situation where he or she needs to convert an audio or video file fast into a format of choice. There are several free and commercial apps, but the abundance of options can actually make selection difficult. If you ...




New Downloads

B2B E-Commerce Software -
TradeMart v1.0

NCrypted - Trading Software of
Alibaba Clone Script is a
superb answer for dispatch
your own business to business
site.

Music Editor Free 2015

Music Editor Free is an
audio-editing tool for music
production that supports many
popular audio formats and
features ...

Discrete Least-Squares
Rational Approximation

Constructs discrete
least-squares rational
approximations to data using
the full-Newton algorithm for
solving separable ...

Binary STL file reader

This function is used for
loading binary STL files

Optimal Distribution
Substations Placement using
Genetic Algorithm

This program uses an Excel
data file "DATA.xls" as an
input to the program. the
input file consists these
worksheets: ...

Search configuration

This module has five main
functions

RubikViewer

RubikViewer is a simple GUI
tool that enables rubik's cube
rotation. It is possible to
perform all basic and advanced
...

Comment Location Tracker

Traces the IP of comment
leavers in WordPress on the
comments admin page.

Tapatio

Enable users to leverage a
drupal system as a front end
to twitter.com (and other
sources in the future)
allowing them to ...

Links Block

Publishes a block containing
all the usual "links" produced
by all hook_link
implementations on the system.

EWMA St.Dev.

This code calculates the
Exponentially Weighted Moving
Average Standard Deviation

Sequential analysis

In statistics, sequential
analysis or sequential
hypothesis testing is
statistical analysis where the
sample size is not ...