482 lines
18 KiB
HTML
482 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
| Generated by Apache Maven Doxia at 24 December 2018
|
|
| Rendered using Apache Maven Fluido Skin 1.3.0
|
|
-->
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta charset="iso-8859-1" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="author" content="Martin Cooper" />
|
|
<meta name="Date-Revision-yyyymmdd" content="20181224" />
|
|
<meta http-equiv="Content-Language" content="en" />
|
|
<title>FileUpload – Home</title>
|
|
|
|
<link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" />
|
|
<link rel="stylesheet" href="./css/site.css" type="text/css" />
|
|
<link rel="stylesheet" href="./css/print.css" media="print" />
|
|
|
|
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
|
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="./js/prettify.min.js"></script>
|
|
<script type="text/javascript" src="./js/site.js"></script>
|
|
|
|
|
|
</head>
|
|
|
|
<body class="composite">
|
|
<a href="http://commons.apache.org/" id="bannerLeft" title="Apache Commons logo">
|
|
<img class="logo-left" src="./images/commons-logo.png" alt="Apache Commons logo"/>
|
|
</a>
|
|
<a href="index.html" id="bannerRight">
|
|
<img class="logo-right" src="images/logo.png" alt="Commons FileUpload"/>
|
|
</a>
|
|
<div class="clear"></div>
|
|
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<div class="container-fluid">
|
|
<a class="brand" href="http://commons.apache.org/proper/commons-fileupload/">Apache Commons FileUpload ™</a>
|
|
<ul class="nav">
|
|
|
|
<li id="publishDate">Last Published: 24 December 2018</li>
|
|
<li class="divider">|</li> <li id="projectVersion">Version: 1.4</li>
|
|
</ul>
|
|
<div class="pull-right"> <ul class="nav">
|
|
<li>
|
|
<a href="http://www.apachecon.com/" class="externalLink" title="ApacheCon">
|
|
ApacheCon</a>
|
|
</li>
|
|
<li>
|
|
<a href="http://www.apache.org" class="externalLink" title="Apache">
|
|
Apache</a>
|
|
</li>
|
|
<li>
|
|
<a href="../../" title="Commons">
|
|
Commons</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
<table class="layout-table">
|
|
<tr>
|
|
<td class="sidebar">
|
|
<div class="well sidebar-nav">
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">Commons FileUpload</li>
|
|
<li class="none active">
|
|
<a href="index.html" title="Overview">
|
|
Overview</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="using.html" title="User guide">
|
|
User guide</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="streaming.html" title="Streaming API">
|
|
Streaming API</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="faq.html" title="FAQ">
|
|
FAQ</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="javadocs/api-release/index.html" title="Javadoc (Latest release)">
|
|
Javadoc (Latest release)</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="download_fileupload.cgi" title="Download">
|
|
Download</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="security-reports.html" title="Security Reports">
|
|
Security Reports</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="mail-lists.html" title="Mailing lists">
|
|
Mailing lists</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="issue-tracking.html" title="Issue Tracking">
|
|
Issue Tracking</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="team-list.html" title="Team">
|
|
Team</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="source-repository.html" title="Source repository">
|
|
Source repository</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header"><i class="icon-info-sign"></i>Project Documentation</li>
|
|
<li class="expanded">
|
|
<a href="project-info.html" title="Project Information">
|
|
Project Information</a>
|
|
<ul>
|
|
<li class="none active">
|
|
<a href="index.html" title="About">
|
|
About</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="summary.html" title="Summary">
|
|
Summary</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="team.html" title="Team">
|
|
Team</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="scm.html" title="Source Code Management">
|
|
Source Code Management</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="issue-management.html" title="Issue Management">
|
|
Issue Management</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="mailing-lists.html" title="Mailing Lists">
|
|
Mailing Lists</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="dependency-info.html" title="Dependency Information">
|
|
Dependency Information</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="dependencies.html" title="Dependencies">
|
|
Dependencies</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="dependency-convergence.html" title="Dependency Convergence">
|
|
Dependency Convergence</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="ci-management.html" title="CI Management">
|
|
CI Management</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="distribution-management.html" title="Distribution Management">
|
|
Distribution Management</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="collapsed">
|
|
<a href="project-reports.html" title="Project Reports">
|
|
Project Reports</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">Commons</li>
|
|
<li class="none">
|
|
<a href="../../" title="Home">
|
|
Home</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="http://www.apache.org/licenses/" class="externalLink" title="License">
|
|
License</a>
|
|
</li>
|
|
<li class="collapsed">
|
|
<a href="../../components.html" title="Components">
|
|
Components</a>
|
|
</li>
|
|
<li class="collapsed">
|
|
<a href="../../sandbox/index.html" title="Sandbox">
|
|
Sandbox</a>
|
|
</li>
|
|
<li class="collapsed">
|
|
<a href="../../dormant/index.html" title="Dormant">
|
|
Dormant</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">General Information</li>
|
|
<li class="none">
|
|
<a href="../../security.html" title="Security">
|
|
Security</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="../../volunteering.html" title="Volunteering">
|
|
Volunteering</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="../../patches.html" title="Contributing Patches">
|
|
Contributing Patches</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="../../building.html" title="Building Components">
|
|
Building Components</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="../../commons-parent-pom.html" title="Commons Parent Pom">
|
|
Commons Parent Pom</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="../../build-plugin/index.html" title="Commons Build Plugin">
|
|
Commons Build Plugin</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="../../releases/index.html" title="Releasing Components">
|
|
Releasing Components</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="http://wiki.apache.org/commons/FrontPage" class="externalLink" title="Wiki">
|
|
Wiki</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">ASF</li>
|
|
<li class="none">
|
|
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">
|
|
How the ASF works</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">
|
|
Get Involved</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">
|
|
Developer Resources</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="http://www.apache.org/foundation/policies/conduct.html" class="externalLink" title="Code of Conduct">
|
|
Code of Conduct</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">
|
|
Sponsorship</a>
|
|
</li>
|
|
<li class="none">
|
|
<a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
|
|
Thanks</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="poweredBy">
|
|
<a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="builtBy">
|
|
<img class="builtBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" />
|
|
</a>
|
|
<a href="http://maven.apache.org/" title="Maven" class="builtBy">
|
|
<img class="builtBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
|
|
</a>
|
|
</div>
|
|
</td>
|
|
<td class="content">
|
|
|
|
|
|
|
|
<div class="section">
|
|
<h2><a name="Commons_FileUpload"></a>Commons FileUpload</h2>
|
|
|
|
<p>
|
|
The Commons <b>FileUpload</b> package makes it easy to add
|
|
robust, high-performance, file upload capability to your servlets and
|
|
web applications.
|
|
</p>
|
|
|
|
<p>
|
|
FileUpload parses HTTP requests which conform to
|
|
<a class="externalLink" href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>,
|
|
"Form-based File Upload in HTML". That is, if an HTTP request is
|
|
submitted using the POST method, and with a content type of
|
|
"multipart/form-data", then FileUpload can parse that request, and
|
|
make the results available in a manner easily used by the caller.
|
|
</p>
|
|
|
|
<p>
|
|
Starting with version <b>1.3</b>, FileUpload handles
|
|
<a class="externalLink" href="https://www.ietf.org/rfc/rfc2047.txt">RFC 2047</a> encoded header values.
|
|
</p>
|
|
|
|
|
|
<p>The simplest way to send a <i>multipart/form-data</i> request to a server is via a web form, i.e.</p>
|
|
|
|
<div class="source">
|
|
<pre><form method="POST" enctype="multipart/form-data" action="fup.cgi">
|
|
File to upload: <input type="file" name="upfile"><br/>
|
|
Notes about the file: <input type="text" name="note"><br/>
|
|
<br/>
|
|
<input type="submit" value="Press"> to upload the file!
|
|
</form></pre></div>
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
<h2><a name="Documentation"></a>Documentation</h2>
|
|
|
|
<p>The following documentation is available:</p>
|
|
|
|
<ul>
|
|
|
|
<li><a href="./using.html">User Guide</a></li>
|
|
|
|
<li><a href="./streaming.html">Streaming API</a></li>
|
|
|
|
<li><a href="./faq.html">Frequently Asked Questions</a></li>
|
|
|
|
<li><a href="./javadocs/api-release/index.html">Javadoc API (Latest release)</a></li>
|
|
|
|
<li><a href="./apidocs/index.html">Javadoc API (Latest development)</a></li>
|
|
|
|
<li><a href="./project-reports.html">Project Reports</a></li>
|
|
|
|
<li><a class="externalLink" href="https://dist.apache.org/repos/dist/release/commons/fileupload/RELEASE-NOTES.txt">Release Notes</a></li>
|
|
</ul>
|
|
|
|
<p>You can also <a href="./source-repository.html">browse</a> the Subversion repository.</p>
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
<h2><a name="Downloading"></a>Downloading</h2>
|
|
|
|
<div class="section">
|
|
<h3><a name="Full_Releases"></a>Full Releases</h3>
|
|
|
|
<p><b>FileUpload 1.4</b> - 23 December 2018</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from a mirror site
|
|
<a class="externalLink" href="http://commons.apache.org/fileupload/download_fileupload.cgi">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.3.3</b> - 13 June 2017</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from a mirror site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.3.2</b> - 26 May 2016</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.3.1</b> - 7 February 2014</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.3</b> - 27 March 2013</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.2.2</b> - 29 July 2010</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.2.1</b> - 18 January 2008</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.2</b> - 13 February 2007</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.1.1</b> - 08 June 2006</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.1</b> - 22 Dec 2005</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><b>FileUpload 1.0</b> - 24 Jun 2003</p>
|
|
|
|
<ul>
|
|
|
|
<li>Download the binary and source distributions from the archive site
|
|
<a class="externalLink" href="http://archive.apache.org/dist/commons/fileupload/">here</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
<h3><a name="Releases_Candidates"></a>Releases Candidates</h3>
|
|
|
|
<p>
|
|
None available.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
<h2><a name="Support"></a>Support</h2>
|
|
|
|
<p>
|
|
The <a href="mail-lists.html">Apache Commons mailing lists</a> act as
|
|
the main support forum. The <i>user</i> list is suitable for most library
|
|
usage queries. The <i>dev</i> list is intended for development discussion.
|
|
Please remember that the lists are shared between all commons components,
|
|
so prefix your e-mail subject line with <i>[fileupload]</i>.
|
|
</p>
|
|
|
|
<p>
|
|
Issues may be reported via <a href="issue-tracking.html">ASF JIRA</a>.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>Copyright © 2002-2018
|
|
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
|
|
All Rights Reserved.</p>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|