????
| Current Path : /opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/net/ |
| Current File : //opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/net/FTPTask.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue May 22 06:24:54 CEST 2012 -->
<title>FTPTask (Apache Ant API)</title>
<meta name="date" content="2012-05-22">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FTPTask (Apache Ant API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTP.LanguageCode.html" title="class in org.apache.tools.ant.taskdefs.optional.net"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Action.html" title="class in org.apache.tools.ant.taskdefs.optional.net"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/net/FTPTask.html" target="_top">Frames</a></li>
<li><a href="FTPTask.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.tools.ant.taskdefs.optional.net</div>
<h2 title="Class FTPTask" class="title">Class FTPTask</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</a></li>
<li>
<ul class="inheritance">
<li>org.apache.tools.ant.taskdefs.optional.net.FTPTask</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Cloneable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">FTPTask</span>
extends <a href="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></pre>
<div class="block">Basic FTP client. Performs the following actions:
<ul>
<li> <strong>send</strong> - send files to a remote server. This is the
default action.</li>
<li> <strong>get</strong> - retrieve files from a remote server.</li>
<li> <strong>del</strong> - delete files from a remote server.</li>
<li> <strong>list</strong> - create a file listing.</li>
<li> <strong>chmod</strong> - change unix file permissions.</li>
<li> <strong>rmdir</strong> - remove directories, if empty, from a
remote server.</li>
</ul>
<strong>Note:</strong> Some FTP servers - notably the Solaris server - seem
to hold data ports open after a "retr" operation, allowing them to timeout
instead of shutting them down cleanly. This happens in active or passive
mode, and the ports will remain open even after ending the FTP session. FTP
"send" operations seem to close ports immediately. This behavior may cause
problems on some systems when downloading large sets of files.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.3</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Action.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Action</a></strong></code>
<div class="block">an action to perform, one of
"send", "put", "recv", "get", "del", "delete", "list", "mkdir", "chmod",
"rmdir"</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.FTPSystemType.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.FTPSystemType</a></strong></code>
<div class="block">one of the valid system type keys recognized by the systemTypeKey
attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Granularity.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Granularity</a></strong></code>
<div class="block">represents one of the valid timestamp adjustment values
recognized by the <code>timestampGranularity</code> attribute.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#ACTION_STRS">ACTION_STRS</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#ACTION_TARGET_STRS">ACTION_TARGET_STRS</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#CHMOD">CHMOD</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#COMPLETED_ACTION_STRS">COMPLETED_ACTION_STRS</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#DEFAULT_FTP_PORT">DEFAULT_FTP_PORT</a></strong></code>
<div class="block">Default port for FTP</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#DEL_FILES">DEL_FILES</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#GET_FILES">GET_FILES</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#LIST_FILES">LIST_FILES</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#MK_DIR">MK_DIR</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#RM_DIR">RM_DIR</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#SEND_FILES">SEND_FILES</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#SITE_CMD">SITE_CMD</a></strong></code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.tools.ant.Task">
<!-- -->
</a>
<h3>Fields inherited from class org.apache.tools.ant.<a href="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></h3>
<code><a href="../../../../../../../org/apache/tools/ant/Task.html#target">target</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#taskName">taskName</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#taskType">taskType</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent">
<!-- -->
</a>
<h3>Fields inherited from class org.apache.tools.ant.<a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</a></h3>
<code><a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#description">description</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#location">location</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#FTPTask()">FTPTask</a></strong>()</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#addFileset(org.apache.tools.ant.types.FileSet)">addFileset</a></strong>(<a href="../../../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</a> set)</code>
<div class="block">A set of files to upload or download</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#checkAttributes()">checkAttributes</a></strong>()</code>
<div class="block">Checks to see that all required parameters are set.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#createClasspath()">createClasspath</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#execute()">execute</a></strong>()</code>
<div class="block">Runs the task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getAccount()">getAccount</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getAction()">getAction</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getChmod()">getChmod</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getDefaultDateFormatConfig()">getDefaultDateFormatConfig</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getEnableRemoteVerification()">getEnableRemoteVerification</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Vector</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getFilesets()">getFilesets</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getGranularityMillis()">getGranularityMillis</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getInitialSiteCommand()">getInitialSiteCommand</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.io.File</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getListing()">getListing</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getPassword()">getPassword</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getPort()">getPort</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getRecentDateFormatConfig()">getRecentDateFormatConfig</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getRemotedir()">getRemotedir</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getRetriesAllowed()">getRetriesAllowed</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getSeparator()">getSeparator</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getServer()">getServer</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getServerLanguageCodeConfig()">getServerLanguageCodeConfig</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getServerTimeZoneConfig()">getServerTimeZoneConfig</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getShortMonthNamesConfig()">getShortMonthNamesConfig</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getSiteCommand()">getSiteCommand</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getSystemTypeKey()">getSystemTypeKey</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getTimeDiffMillis()">getTimeDiffMillis</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Granularity.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Granularity</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getTimestampGranularity()">getTimestampGranularity</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getUmask()">getUmask</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#getUserid()">getUserid</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isBinary()">isBinary</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isConfigurationSet()">isConfigurationSet</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isIgnoreNoncriticalErrors()">isIgnoreNoncriticalErrors</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isNewer()">isNewer</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isPassive()">isPassive</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isPreserveLastModified()">isPreserveLastModified</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isSkipFailedTransfers()">isSkipFailedTransfers</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isTimeDiffAuto()">isTimeDiffAuto</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#isVerbose()">isVerbose</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#log(java.lang.String, int)">log</a></strong>(java.lang.String msg,
int level)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setAccount(java.lang.String)">setAccount</a></strong>(java.lang.String pAccount)</code>
<div class="block">Sets the login account to use on the specified server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setAction(org.apache.tools.ant.taskdefs.optional.net.FTPTask.Action)">setAction</a></strong>(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Action.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Action</a> action)</code>
<div class="block">Sets the FTP action to be taken.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setAction(java.lang.String)">setAction</a></strong>(java.lang.String action)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>since 1.5.x.
setAction(String) is deprecated and is replaced with
setAction(FTP.Action) to make Ant's Introspection mechanism do the
work and also to encapsulate operations on the type in its own
class.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setBinary(boolean)">setBinary</a></strong>(boolean binary)</code>
<div class="block">If true, uses binary mode, otherwise text mode (default is binary).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setChmod(java.lang.String)">setChmod</a></strong>(java.lang.String theMode)</code>
<div class="block">Sets the file permission mode (Unix only) for files sent to the
server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setDefaultDateFormatConfig(java.lang.String)">setDefaultDateFormatConfig</a></strong>(java.lang.String defaultDateFormat)</code>
<div class="block">Sets the defaultDateFormatConfig attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setDepends(boolean)">setDepends</a></strong>(boolean depends)</code>
<div class="block">Set to true to transmit only files that are new or changed from their
remote counterparts.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setEnableRemoteVerification(boolean)">setEnableRemoteVerification</a></strong>(boolean b)</code>
<div class="block">Whether to verify that data and control connections are
connected to the same remote host.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setGranularityMillis(long)">setGranularityMillis</a></strong>(long granularity)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setIgnoreNoncriticalErrors(boolean)">setIgnoreNoncriticalErrors</a></strong>(boolean ignoreNoncriticalErrors)</code>
<div class="block">set the flag to skip errors on directory creation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setInitialSiteCommand(java.lang.String)">setInitialSiteCommand</a></strong>(java.lang.String initialCommand)</code>
<div class="block">Sets the initialSiteCommand attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setListing(java.io.File)">setListing</a></strong>(java.io.File listing)</code>
<div class="block">The output file for the "list" action.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setNewer(boolean)">setNewer</a></strong>(boolean newer)</code>
<div class="block">A synonym for <tt>depends</tt>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setPassive(boolean)">setPassive</a></strong>(boolean passive)</code>
<div class="block">Specifies whether to use passive mode.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setPassword(java.lang.String)">setPassword</a></strong>(java.lang.String password)</code>
<div class="block">Sets the login password for the given user id.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setPort(int)">setPort</a></strong>(int port)</code>
<div class="block">Sets the FTP port used by the remote server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setPreserveLastModified(boolean)">setPreserveLastModified</a></strong>(boolean preserveLastModified)</code>
<div class="block">Set to true to preserve modification times for "gotten" files.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setRecentDateFormatConfig(java.lang.String)">setRecentDateFormatConfig</a></strong>(java.lang.String recentDateFormat)</code>
<div class="block">Sets the recentDateFormatConfig attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setRemotedir(java.lang.String)">setRemotedir</a></strong>(java.lang.String dir)</code>
<div class="block">Sets the remote directory where files will be placed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setRetriesAllowed(java.lang.String)">setRetriesAllowed</a></strong>(java.lang.String retriesAllowed)</code>
<div class="block">Defines how many times to retry executing FTP command before giving up.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setSeparator(java.lang.String)">setSeparator</a></strong>(java.lang.String separator)</code>
<div class="block">Sets the remote file separator character.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setServer(java.lang.String)">setServer</a></strong>(java.lang.String server)</code>
<div class="block">Sets the FTP server to send files to.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setServerLanguageCodeConfig(java.lang.String)">setServerLanguageCodeConfig</a></strong>(java.lang.String serverLanguageCode)</code>
<div class="block">Sets the serverLanguageCode attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setServerTimeZoneConfig(java.lang.String)">setServerTimeZoneConfig</a></strong>(java.lang.String serverTimeZoneId)</code>
<div class="block">Sets the serverTimeZoneConfig attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setShortMonthNamesConfig(java.lang.String)">setShortMonthNamesConfig</a></strong>(java.lang.String shortMonthNames)</code>
<div class="block">Sets the shortMonthNamesConfig attribute</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setSiteCommand(java.lang.String)">setSiteCommand</a></strong>(java.lang.String siteCommand)</code>
<div class="block">Sets the siteCommand attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setSkipFailedTransfers(boolean)">setSkipFailedTransfers</a></strong>(boolean skipFailedTransfers)</code>
<div class="block">If true, enables unsuccessful file put, delete and get
operations to be skipped with a warning and the remainder
of the files still transferred.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setSystemTypeKey(org.apache.tools.ant.taskdefs.optional.net.FTPTask.FTPSystemType)">setSystemTypeKey</a></strong>(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.FTPSystemType.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.FTPSystemType</a> systemKey)</code>
<div class="block">Sets the systemTypeKey attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setTimeDiffAuto(boolean)">setTimeDiffAuto</a></strong>(boolean timeDiffAuto)</code>
<div class="block">"true" to find out automatically the time difference
between local and remote machine.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setTimeDiffMillis(long)">setTimeDiffMillis</a></strong>(long timeDiffMillis)</code>
<div class="block">number of milliseconds to add to the time on the remote machine
to get the time on the local machine.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setTimestampGranularity(org.apache.tools.ant.taskdefs.optional.net.FTPTask.Granularity)">setTimestampGranularity</a></strong>(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Granularity.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Granularity</a> timestampGranularity)</code>
<div class="block">Sets the timestampGranularity attribute</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setUmask(java.lang.String)">setUmask</a></strong>(java.lang.String theUmask)</code>
<div class="block">Sets the default mask for file creation on a unix server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setupFTPDelegate()">setupFTPDelegate</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setUserid(java.lang.String)">setUserid</a></strong>(java.lang.String userid)</code>
<div class="block">Sets the login user id to use on the specified server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.html#setVerbose(boolean)">setVerbose</a></strong>(boolean verbose)</code>
<div class="block">Set to true to receive notification about each file as it is
transferred.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.tools.ant.Task">
<!-- -->
</a>
<h3>Methods inherited from class org.apache.tools.ant.<a href="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></h3>
<code><a href="../../../../../../../org/apache/tools/ant/Task.html#bindToOwner(org.apache.tools.ant.Task)">bindToOwner</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#init()">init</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, java.lang.Throwable, int)">log</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#log(java.lang.Throwable, int)">log</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#perform()">perform</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</a>, <a href="../../../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent">
<!-- -->
</a>
<h3>Methods inherited from class org.apache.tools.ant.<a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</a></h3>
<code><a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#clone()">clone</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#getDescription()">getDescription</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#getLocation()">getLocation</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#setDescription(java.lang.String)">setDescription</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#setLocation(org.apache.tools.ant.Location)">setLocation</a>, <a href="../../../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="SEND_FILES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SEND_FILES</h4>
<pre>public static final int SEND_FILES</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.SEND_FILES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="GET_FILES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GET_FILES</h4>
<pre>public static final int GET_FILES</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.GET_FILES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEL_FILES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEL_FILES</h4>
<pre>public static final int DEL_FILES</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.DEL_FILES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LIST_FILES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LIST_FILES</h4>
<pre>public static final int LIST_FILES</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.LIST_FILES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="MK_DIR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MK_DIR</h4>
<pre>public static final int MK_DIR</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.MK_DIR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CHMOD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHMOD</h4>
<pre>public static final int CHMOD</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.CHMOD">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="RM_DIR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RM_DIR</h4>
<pre>public static final int RM_DIR</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.RM_DIR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SITE_CMD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SITE_CMD</h4>
<pre>public static final int SITE_CMD</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.SITE_CMD">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEFAULT_FTP_PORT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FTP_PORT</h4>
<pre>public static final int DEFAULT_FTP_PORT</pre>
<div class="block">Default port for FTP</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.net.FTPTask.DEFAULT_FTP_PORT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ACTION_STRS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ACTION_STRS</h4>
<pre>public static final java.lang.String[] ACTION_STRS</pre>
</li>
</ul>
<a name="COMPLETED_ACTION_STRS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COMPLETED_ACTION_STRS</h4>
<pre>public static final java.lang.String[] COMPLETED_ACTION_STRS</pre>
</li>
</ul>
<a name="ACTION_TARGET_STRS">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ACTION_TARGET_STRS</h4>
<pre>public static final java.lang.String[] ACTION_TARGET_STRS</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="FTPTask()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FTPTask</h4>
<pre>public FTPTask()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setRemotedir(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRemotedir</h4>
<pre>public void setRemotedir(java.lang.String dir)</pre>
<div class="block">Sets the remote directory where files will be placed. This may be a
relative or absolute path, and must be in the path syntax expected by
the remote server. No correction of path syntax will be performed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dir</code> - the remote directory name.</dd></dl>
</li>
</ul>
<a name="getRemotedir()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRemotedir</h4>
<pre>public java.lang.String getRemotedir()</pre>
</li>
</ul>
<a name="setServer(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setServer</h4>
<pre>public void setServer(java.lang.String server)</pre>
<div class="block">Sets the FTP server to send files to.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>server</code> - the remote server name.</dd></dl>
</li>
</ul>
<a name="getServer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServer</h4>
<pre>public java.lang.String getServer()</pre>
</li>
</ul>
<a name="setPort(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPort</h4>
<pre>public void setPort(int port)</pre>
<div class="block">Sets the FTP port used by the remote server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>port</code> - the port on which the remote server is listening.</dd></dl>
</li>
</ul>
<a name="getPort()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPort</h4>
<pre>public int getPort()</pre>
</li>
</ul>
<a name="setUserid(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserid</h4>
<pre>public void setUserid(java.lang.String userid)</pre>
<div class="block">Sets the login user id to use on the specified server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userid</code> - remote system userid.</dd></dl>
</li>
</ul>
<a name="getUserid()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserid</h4>
<pre>public java.lang.String getUserid()</pre>
</li>
</ul>
<a name="setPassword(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPassword</h4>
<pre>public void setPassword(java.lang.String password)</pre>
<div class="block">Sets the login password for the given user id.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>password</code> - the password on the remote system.</dd></dl>
</li>
</ul>
<a name="getPassword()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPassword</h4>
<pre>public java.lang.String getPassword()</pre>
</li>
</ul>
<a name="setAccount(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAccount</h4>
<pre>public void setAccount(java.lang.String pAccount)</pre>
<div class="block">Sets the login account to use on the specified server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pAccount</code> - the account name on remote system</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.7</dd></dl>
</li>
</ul>
<a name="getAccount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccount</h4>
<pre>public java.lang.String getAccount()</pre>
</li>
</ul>
<a name="setBinary(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBinary</h4>
<pre>public void setBinary(boolean binary)</pre>
<div class="block">If true, uses binary mode, otherwise text mode (default is binary).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>binary</code> - if true use binary mode in transfers.</dd></dl>
</li>
</ul>
<a name="isBinary()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBinary</h4>
<pre>public boolean isBinary()</pre>
</li>
</ul>
<a name="setPassive(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPassive</h4>
<pre>public void setPassive(boolean passive)</pre>
<div class="block">Specifies whether to use passive mode. Set to true if you are behind a
firewall and cannot connect without it. Passive mode is disabled by
default.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>passive</code> - true is passive mode should be used.</dd></dl>
</li>
</ul>
<a name="isPassive()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPassive</h4>
<pre>public boolean isPassive()</pre>
</li>
</ul>
<a name="setVerbose(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVerbose</h4>
<pre>public void setVerbose(boolean verbose)</pre>
<div class="block">Set to true to receive notification about each file as it is
transferred.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>verbose</code> - true if verbose notifications are required.</dd></dl>
</li>
</ul>
<a name="isVerbose()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVerbose</h4>
<pre>public boolean isVerbose()</pre>
</li>
</ul>
<a name="setNewer(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNewer</h4>
<pre>public void setNewer(boolean newer)</pre>
<div class="block">A synonym for <tt>depends</tt>. Set to true to transmit only new
or changed files.
See the related attributes timediffmillis and timediffauto.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>newer</code> - if true only transfer newer files.</dd></dl>
</li>
</ul>
<a name="isNewer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNewer</h4>
<pre>public boolean isNewer()</pre>
</li>
</ul>
<a name="setTimeDiffMillis(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeDiffMillis</h4>
<pre>public void setTimeDiffMillis(long timeDiffMillis)</pre>
<div class="block">number of milliseconds to add to the time on the remote machine
to get the time on the local machine.
use in conjunction with <code>newer</code></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>timeDiffMillis</code> - number of milliseconds</dd><dt><span class="strong">Since:</span></dt>
<dd>ant 1.6</dd></dl>
</li>
</ul>
<a name="getTimeDiffMillis()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeDiffMillis</h4>
<pre>public long getTimeDiffMillis()</pre>
</li>
</ul>
<a name="setTimeDiffAuto(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeDiffAuto</h4>
<pre>public void setTimeDiffAuto(boolean timeDiffAuto)</pre>
<div class="block">"true" to find out automatically the time difference
between local and remote machine.
This requires right to create
and delete a temporary file in the remote directory.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>timeDiffAuto</code> - true = find automatically the time diff</dd><dt><span class="strong">Since:</span></dt>
<dd>ant 1.6</dd></dl>
</li>
</ul>
<a name="isTimeDiffAuto()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTimeDiffAuto</h4>
<pre>public boolean isTimeDiffAuto()</pre>
</li>
</ul>
<a name="setPreserveLastModified(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPreserveLastModified</h4>
<pre>public void setPreserveLastModified(boolean preserveLastModified)</pre>
<div class="block">Set to true to preserve modification times for "gotten" files.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>preserveLastModified</code> - if true preserver modification times.</dd></dl>
</li>
</ul>
<a name="isPreserveLastModified()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPreserveLastModified</h4>
<pre>public boolean isPreserveLastModified()</pre>
</li>
</ul>
<a name="setDepends(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDepends</h4>
<pre>public void setDepends(boolean depends)</pre>
<div class="block">Set to true to transmit only files that are new or changed from their
remote counterparts. The default is to transmit all files.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>depends</code> - if true only transfer newer files.</dd></dl>
</li>
</ul>
<a name="setSeparator(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSeparator</h4>
<pre>public void setSeparator(java.lang.String separator)</pre>
<div class="block">Sets the remote file separator character. This normally defaults to the
Unix standard forward slash, but can be manually overridden using this
call if the remote server requires some other separator. Only the first
character of the string is used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>separator</code> - the file separator on the remote system.</dd></dl>
</li>
</ul>
<a name="getSeparator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSeparator</h4>
<pre>public java.lang.String getSeparator()</pre>
</li>
</ul>
<a name="setChmod(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChmod</h4>
<pre>public void setChmod(java.lang.String theMode)</pre>
<div class="block">Sets the file permission mode (Unix only) for files sent to the
server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMode</code> - unix style file mode for the files sent to the remote
system.</dd></dl>
</li>
</ul>
<a name="getChmod()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChmod</h4>
<pre>public java.lang.String getChmod()</pre>
</li>
</ul>
<a name="setUmask(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUmask</h4>
<pre>public void setUmask(java.lang.String theUmask)</pre>
<div class="block">Sets the default mask for file creation on a unix server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theUmask</code> - unix style umask for files created on the remote server.</dd></dl>
</li>
</ul>
<a name="getUmask()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUmask</h4>
<pre>public java.lang.String getUmask()</pre>
</li>
</ul>
<a name="addFileset(org.apache.tools.ant.types.FileSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFileset</h4>
<pre>public void addFileset(<a href="../../../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</a> set)</pre>
<div class="block">A set of files to upload or download</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>set</code> - the set of files to be added to the list of files to be
transferred.</dd></dl>
</li>
</ul>
<a name="getFilesets()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFilesets</h4>
<pre>public java.util.Vector getFilesets()</pre>
</li>
</ul>
<a name="setAction(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAction</h4>
<pre>public void setAction(java.lang.String action)
throws <a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block"><span class="strong">Deprecated.</span> <i>since 1.5.x.
setAction(String) is deprecated and is replaced with
setAction(FTP.Action) to make Ant's Introspection mechanism do the
work and also to encapsulate operations on the type in its own
class.</i></div>
<div class="block">Sets the FTP action to be taken. Currently accepts "put", "get", "del",
"mkdir", "chmod", "list", and "site".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>action</code> - the FTP action to be performed.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code> - if the action is not a valid action.</dd></dl>
</li>
</ul>
<a name="setAction(org.apache.tools.ant.taskdefs.optional.net.FTPTask.Action)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAction</h4>
<pre>public void setAction(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Action.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Action</a> action)
throws <a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Sets the FTP action to be taken. Currently accepts "put", "get", "del",
"mkdir", "chmod", "list", and "site".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>action</code> - the FTP action to be performed.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code> - if the action is not a valid action.</dd></dl>
</li>
</ul>
<a name="getAction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAction</h4>
<pre>public int getAction()</pre>
</li>
</ul>
<a name="setListing(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setListing</h4>
<pre>public void setListing(java.io.File listing)</pre>
<div class="block">The output file for the "list" action. This attribute is ignored for
any other actions.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listing</code> - file in which to store the listing.</dd></dl>
</li>
</ul>
<a name="getListing()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getListing</h4>
<pre>public java.io.File getListing()</pre>
</li>
</ul>
<a name="setSkipFailedTransfers(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSkipFailedTransfers</h4>
<pre>public void setSkipFailedTransfers(boolean skipFailedTransfers)</pre>
<div class="block">If true, enables unsuccessful file put, delete and get
operations to be skipped with a warning and the remainder
of the files still transferred.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>skipFailedTransfers</code> - true if failures in transfers are ignored.</dd></dl>
</li>
</ul>
<a name="isSkipFailedTransfers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSkipFailedTransfers</h4>
<pre>public boolean isSkipFailedTransfers()</pre>
</li>
</ul>
<a name="setIgnoreNoncriticalErrors(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIgnoreNoncriticalErrors</h4>
<pre>public void setIgnoreNoncriticalErrors(boolean ignoreNoncriticalErrors)</pre>
<div class="block">set the flag to skip errors on directory creation.
(and maybe later other server specific errors)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ignoreNoncriticalErrors</code> - true if non-critical errors should not
cause a failure.</dd></dl>
</li>
</ul>
<a name="isIgnoreNoncriticalErrors()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIgnoreNoncriticalErrors</h4>
<pre>public boolean isIgnoreNoncriticalErrors()</pre>
</li>
</ul>
<a name="isConfigurationSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConfigurationSet</h4>
<pre>public boolean isConfigurationSet()</pre>
</li>
</ul>
<a name="setSystemTypeKey(org.apache.tools.ant.taskdefs.optional.net.FTPTask.FTPSystemType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSystemTypeKey</h4>
<pre>public void setSystemTypeKey(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.FTPSystemType.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.FTPSystemType</a> systemKey)</pre>
<div class="block">Sets the systemTypeKey attribute.
Method for setting <code>FTPClientConfig</code> remote system key.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>systemKey</code> - the key to be set - BUT if blank
the default value of null (which signifies "autodetect") will be kept.</dd><dt><span class="strong">See Also:</span></dt><dd><code>FTPClientConfig</code></dd></dl>
</li>
</ul>
<a name="setDefaultDateFormatConfig(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultDateFormatConfig</h4>
<pre>public void setDefaultDateFormatConfig(java.lang.String defaultDateFormat)</pre>
<div class="block">Sets the defaultDateFormatConfig attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>defaultDateFormat</code> - configuration to be set, unless it is
null or empty string, in which case ignored.</dd><dt><span class="strong">See Also:</span></dt><dd><code>FTPClientConfig</code></dd></dl>
</li>
</ul>
<a name="setRecentDateFormatConfig(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRecentDateFormatConfig</h4>
<pre>public void setRecentDateFormatConfig(java.lang.String recentDateFormat)</pre>
<div class="block">Sets the recentDateFormatConfig attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>recentDateFormat</code> - configuration to be set, unless it is
null or empty string, in which case ignored.</dd><dt><span class="strong">See Also:</span></dt><dd><code>FTPClientConfig</code></dd></dl>
</li>
</ul>
<a name="setServerLanguageCodeConfig(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setServerLanguageCodeConfig</h4>
<pre>public void setServerLanguageCodeConfig(java.lang.String serverLanguageCode)</pre>
<div class="block">Sets the serverLanguageCode attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>serverLanguageCode</code> - configuration to be set, unless it is
null or empty string, in which case ignored.</dd><dt><span class="strong">See Also:</span></dt><dd><code>FTPClientConfig</code></dd></dl>
</li>
</ul>
<a name="setServerTimeZoneConfig(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setServerTimeZoneConfig</h4>
<pre>public void setServerTimeZoneConfig(java.lang.String serverTimeZoneId)</pre>
<div class="block">Sets the serverTimeZoneConfig attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>serverTimeZoneId</code> - configuration to be set, unless it is
null or empty string, in which case ignored.</dd><dt><span class="strong">See Also:</span></dt><dd><code>FTPClientConfig</code></dd></dl>
</li>
</ul>
<a name="setShortMonthNamesConfig(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShortMonthNamesConfig</h4>
<pre>public void setShortMonthNamesConfig(java.lang.String shortMonthNames)</pre>
<div class="block">Sets the shortMonthNamesConfig attribute</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>shortMonthNames</code> - configuration to be set, unless it is
null or empty string, in which case ignored.</dd><dt><span class="strong">See Also:</span></dt><dd><code>FTPClientConfig</code></dd></dl>
</li>
</ul>
<a name="setRetriesAllowed(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRetriesAllowed</h4>
<pre>public void setRetriesAllowed(java.lang.String retriesAllowed)</pre>
<div class="block">Defines how many times to retry executing FTP command before giving up.
Default is 0 - try once and if failure then give up.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>retriesAllowed</code> - number of retries to allow. -1 means
keep trying forever. "forever" may also be specified as a
synonym for -1.</dd></dl>
</li>
</ul>
<a name="getRetriesAllowed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRetriesAllowed</h4>
<pre>public int getRetriesAllowed()</pre>
</li>
</ul>
<a name="getSystemTypeKey()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSystemTypeKey</h4>
<pre>public java.lang.String getSystemTypeKey()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the systemTypeKey.</dd></dl>
</li>
</ul>
<a name="getDefaultDateFormatConfig()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultDateFormatConfig</h4>
<pre>public java.lang.String getDefaultDateFormatConfig()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the defaultDateFormatConfig.</dd></dl>
</li>
</ul>
<a name="getRecentDateFormatConfig()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRecentDateFormatConfig</h4>
<pre>public java.lang.String getRecentDateFormatConfig()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the recentDateFormatConfig.</dd></dl>
</li>
</ul>
<a name="getServerLanguageCodeConfig()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerLanguageCodeConfig</h4>
<pre>public java.lang.String getServerLanguageCodeConfig()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the serverLanguageCodeConfig.</dd></dl>
</li>
</ul>
<a name="getServerTimeZoneConfig()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerTimeZoneConfig</h4>
<pre>public java.lang.String getServerTimeZoneConfig()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the serverTimeZoneConfig.</dd></dl>
</li>
</ul>
<a name="getShortMonthNamesConfig()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortMonthNamesConfig</h4>
<pre>public java.lang.String getShortMonthNamesConfig()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the shortMonthNamesConfig.</dd></dl>
</li>
</ul>
<a name="getTimestampGranularity()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimestampGranularity</h4>
<pre>public <a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Granularity.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Granularity</a> getTimestampGranularity()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the timestampGranularity.</dd></dl>
</li>
</ul>
<a name="setTimestampGranularity(org.apache.tools.ant.taskdefs.optional.net.FTPTask.Granularity)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimestampGranularity</h4>
<pre>public void setTimestampGranularity(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Granularity.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTPTask.Granularity</a> timestampGranularity)</pre>
<div class="block">Sets the timestampGranularity attribute</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>timestampGranularity</code> - The timestampGranularity to set.</dd></dl>
</li>
</ul>
<a name="setSiteCommand(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSiteCommand</h4>
<pre>public void setSiteCommand(java.lang.String siteCommand)</pre>
<div class="block">Sets the siteCommand attribute. This attribute
names the command that will be executed if the action
is "site".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>siteCommand</code> - The siteCommand to set.</dd></dl>
</li>
</ul>
<a name="getSiteCommand()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSiteCommand</h4>
<pre>public java.lang.String getSiteCommand()</pre>
</li>
</ul>
<a name="setInitialSiteCommand(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInitialSiteCommand</h4>
<pre>public void setInitialSiteCommand(java.lang.String initialCommand)</pre>
<div class="block">Sets the initialSiteCommand attribute. This attribute
names a site command that will be executed immediately
after connection.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initialCommand</code> - The initialSiteCommand to set.</dd></dl>
</li>
</ul>
<a name="getInitialSiteCommand()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInitialSiteCommand</h4>
<pre>public java.lang.String getInitialSiteCommand()</pre>
</li>
</ul>
<a name="getGranularityMillis()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGranularityMillis</h4>
<pre>public long getGranularityMillis()</pre>
</li>
</ul>
<a name="setGranularityMillis(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGranularityMillis</h4>
<pre>public void setGranularityMillis(long granularity)</pre>
</li>
</ul>
<a name="setEnableRemoteVerification(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEnableRemoteVerification</h4>
<pre>public void setEnableRemoteVerification(boolean b)</pre>
<div class="block">Whether to verify that data and control connections are
connected to the same remote host.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.8.0</dd></dl>
</li>
</ul>
<a name="getEnableRemoteVerification()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnableRemoteVerification</h4>
<pre>public boolean getEnableRemoteVerification()</pre>
</li>
</ul>
<a name="checkAttributes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkAttributes</h4>
<pre>protected void checkAttributes()
throws <a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Checks to see that all required parameters are set.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code> - if the configuration is not valid.</dd></dl>
</li>
</ul>
<a name="execute()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public void execute()
throws <a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Runs the task.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/tools/ant/Task.html#execute()">execute</a></code> in class <code><a href="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code> - if the task fails or is not configured
correctly.</dd></dl>
</li>
</ul>
<a name="createClasspath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createClasspath</h4>
<pre>public <a href="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> createClasspath()</pre>
</li>
</ul>
<a name="setupFTPDelegate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setupFTPDelegate</h4>
<pre>protected void setupFTPDelegate()</pre>
</li>
</ul>
<a name="log(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>log</h4>
<pre>public void log(java.lang.String msg,
int level)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTP.LanguageCode.html" title="class in org.apache.tools.ant.taskdefs.optional.net"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/net/FTPTask.Action.html" title="class in org.apache.tools.ant.taskdefs.optional.net"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/net/FTPTask.html" target="_top">Frames</a></li>
<li><a href="FTPTask.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>