scohen      2005/05/17 16:33:51

  Modified:    docs/manual/OptionalTasks ftp.html
  Log:
  remove unnecessary " marks.
  
  Revision  Changes    Path
  1.34      +104 -104  ant/docs/manual/OptionalTasks/ftp.html
  
  Index: ftp.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/ftp.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- ftp.html  14 May 2005 14:30:25 -0000      1.33
  +++ ftp.html  17 May 2005 23:33:51 -0000      1.34
  @@ -74,35 +74,35 @@
     </tr>
     <tr>
       <td valign="top">action</td>
  -    <td valign="top">the ftp action to perform, defaulting to 
&quot;send&quot;.  
  -                     Currently supports &quot;put&quot;, &quot;get&quot;,
  -                     &quot;del&quot;, &quot;list&quot;, &quot;chmod&quot;,
  -                     &quot;mkdir&quot; and &quot;rmdir&quot;.</td>
  +    <td valign="top">the ftp action to perform, defaulting to "send".
  +                     Currently supports "put", "get",
  +                     "del", "list", "chmod",
  +                     "mkdir" and "rmdir".</td>
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
       <td valign="top">binary</td>
  -    <td valign="top">selects binary-mode (&quot;yes&quot;) or text-mode 
  -                     (&quot;no&quot;) transfers.  
  -                     Defaults to &quot;yes&quot;</td>
  +    <td valign="top">selects binary-mode ("yes") or text-mode
  +                     ("no") transfers.
  +                     Defaults to "yes"</td>
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
       <td valign="top">passive</td>
  -    <td valign="top">selects passive-mode (&quot;yes&quot;) transfers.  
  -                     Defaults to &quot;no&quot;</td>
  +    <td valign="top">selects passive-mode ("yes") transfers.
  +                     Defaults to "no"</td>
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
       <td valign="top">verbose</td>
       <td valign="top">displays information on each file transferred if set 
  -                     to &quot;yes&quot;. Defaults to &quot;no&quot;.</td>
  +                     to "yes". Defaults to "no".</td>
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
       <td valign="top">depends</td>
       <td valign="top">transfers only new or changed files if set to 
  -                     &quot;yes&quot;. Defaults to &quot;no&quot;.</td>
  +                     "yes". Defaults to "no".</td>
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
  @@ -113,7 +113,7 @@
     </tr>
     <tr>
       <td valign="top">timediffauto</td>
  -    <td valign="top">set to <code>&quot;true&quot;</code>
  +    <td valign="top">set to <code>"true"</code>
       to make ant calculate the time difference between client and server.<br>
       <em>requires write access in the remote directory</em><br>
       Since ant 1.6</td>
  @@ -130,7 +130,7 @@
     <tr>
       <td valign="top">separator</td>
       <td valign="top">sets the file separator used on the ftp server.
  -                     Defaults to &quot;/&quot;.</td>
  +                     Defaults to "/".</td>
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
  @@ -147,8 +147,8 @@
     </tr>
     <tr>
       <td valign="top">listing</td>
  -    <td valign="top">the file to write results of the &quot;list&quot; 
action.
  -                     Required for the &quot;list&quot; action, ignored 
otherwise.</td>
  +    <td valign="top">the file to write results of the "list" action.
  +                     Required for the "list" action, ignored otherwise.</td>
       <td valign="top" align="center">No</td>
     </tr>
     <tr>
  @@ -387,36 +387,36 @@
   <h3>Sending Files</h3>
   <p>The easiest way to describe how to send files is with a couple of 
examples:</p>
   <pre>
  -  &lt;ftp server=&quot;ftp.apache.org&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot;&gt;
  -    &lt;fileset dir=&quot;htdocs/manual&quot;/&gt;
  +  &lt;ftp server="ftp.apache.org"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"&gt;
  +    &lt;fileset dir="htdocs/manual"/&gt;
     &lt;/ftp&gt;
   </pre>
   <p>Logs in to <code>ftp.apache.org</code> as <code>anonymous</code> and 
   uploads all files in the <code>htdocs/manual</code> directory 
   to the default directory for that user.</p>
  -<pre>  &lt;ftp server=&quot;ftp.apache.org&quot;
  -       remotedir=&quot;incoming&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot;
  -       depends=&quot;yes&quot;&gt;
  -    &lt;fileset dir=&quot;htdocs/manual&quot;/&gt;
  +<pre>  &lt;ftp server="ftp.apache.org"
  +       remotedir="incoming"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"
  +       depends="yes"&gt;
  +    &lt;fileset dir="htdocs/manual"/&gt;
     &lt;/ftp&gt;</pre>
   <p>Logs in to <code>ftp.apache.org</code> as <code>anonymous</code> and
   uploads all new or changed files in the <code>htdocs/manual</code> directory 
   to the <code>incoming</code> directory relative to the default directory
   for <code>anonymous</code>.</p>
  -<pre>  &lt;ftp server=&quot;ftp.apache.org&quot;
  -       port=&quot;2121&quot;
  -       remotedir=&quot;/pub/incoming&quot;
  -       userid=&quot;coder&quot;
  -       password=&quot;java1&quot;
  -       passive=&quot;yes&quot;
  -       depends=&quot;yes&quot;
  -       binary=&quot;no&quot;&gt;
  -    &lt;fileset dir=&quot;htdocs/manual&quot;&gt;
  -      &lt;include name=&quot;**/*.html&quot;/&gt;
  +<pre>  &lt;ftp server="ftp.apache.org"
  +       port="2121"
  +       remotedir="/pub/incoming"
  +       userid="coder"
  +       password="java1"
  +       passive="yes"
  +       depends="yes"
  +       binary="no"&gt;
  +    &lt;fileset dir="htdocs/manual"&gt;
  +      &lt;include name="**/*.html"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;</pre>
   <p>Logs in to <code>ftp.apache.org</code> at port <code>2121</code> as
  @@ -424,17 +424,17 @@
   changed HTML files in the <code>htdocs/manual</code> directory to the
   <code>/pub/incoming</code> directory. The files are transferred in text mode.
   Passive mode has been switched on to send files from behind a firewall.</p>
  -<pre>  &lt;ftp server=&quot;ftp.hypothetical.india.org&quot;
  -       port=&quot;2121&quot;
  -       remotedir=&quot;/pub/incoming&quot;
  -       userid=&quot;coder&quot;
  -       password=&quot;java1&quot;
  -       depends=&quot;yes&quot;
  -       binary=&quot;no&quot;
  -       systemTypeKey=&quot;Windows&quot;
  -       serverTimeZoneConfig=&quot;India/Calcutta&quot;&gt;
  -    &lt;fileset dir=&quot;htdocs/manual&quot;&gt;
  -      &lt;include name=&quot;**/*.html&quot;/&gt;
  +<pre>  &lt;ftp server="ftp.hypothetical.india.org"
  +       port="2121"
  +       remotedir="/pub/incoming"
  +       userid="coder"
  +       password="java1"
  +       depends="yes"
  +       binary="no"
  +       systemTypeKey="Windows"
  +       serverTimeZoneConfig="India/Calcutta"&gt;
  +    &lt;fileset dir="htdocs/manual"&gt;
  +      &lt;include name="**/*.html"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;</pre>
   <p>Logs in to a Windows server at <code>ftp.hypothetical.india.org</code>
  @@ -443,14 +443,14 @@
   HTML files in the <code>htdocs/manual</code>
   directory to the <code>/pub/incoming</code> directory. The files are 
transferred
   in text mode.</p>
  -<pre>  &lt;ftp server=&quot;ftp.nt.org&quot;
  -       remotedir=&quot;c:\uploads&quot;
  -       userid=&quot;coder&quot;
  -       password=&quot;java1&quot;
  -       separator=&quot;\&quot;
  -       verbose=&quot;yes&quot;&gt;
  -    &lt;fileset dir=&quot;htdocs/manual&quot;&gt;
  -      &lt;include name=&quot;**/*.html&quot;/&gt;
  +<pre>  &lt;ftp server="ftp.nt.org"
  +       remotedir="c:\uploads"
  +       userid="coder"
  +       password="java1"
  +       separator="\"
  +       verbose="yes"&gt;
  +    &lt;fileset dir="htdocs/manual"&gt;
  +      &lt;include name="**/*.html"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;</pre><p>Logs in to the Windows-based <code>ftp.nt.org</code> 
as 
   <code>coder</code> with password <code>java1</code> and uploads all 
  @@ -464,12 +464,12 @@
   FTP server, and the dir attribute as the local directory to put the files
   into.  The file structure from the FTP site is preserved on the local 
machine.</p>
   <pre>
  -  &lt;ftp action=&quot;get&quot;
  -       server=&quot;ftp.apache.org&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot;&gt;
  -    &lt;fileset dir=&quot;htdocs/manual&quot;&gt;
  -      &lt;include name=&quot;**/*.html&quot;/&gt;
  +  &lt;ftp action="get"
  +       server="ftp.apache.org"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"&gt;
  +    &lt;fileset dir="htdocs/manual"&gt;
  +      &lt;include name="**/*.html"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;
   </pre>
  @@ -477,14 +477,14 @@
   recursively downloads all .html files from default directory for that user 
   into the <code>htdocs/manual</code> directory on the local machine.</p>
   <pre>
  -  &lt;ftp action=&quot;get&quot;
  -       server=&quot;ftp.apache.org&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot;
  +  &lt;ftp action="get"
  +       server="ftp.apache.org"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"
          systemTypeKey="UNIX"
  -       defaultDateFormatConfig=&quot;yyyy-MM-dd HH:mm&quot;&gt;
  -    &lt;fileset dir=&quot;htdocs/manual&quot;&gt;
  -      &lt;include name=&quot;**/*.html&quot;/&gt;
  +       defaultDateFormatConfig="yyyy-MM-dd HH:mm"&gt;
  +    &lt;fileset dir="htdocs/manual"&gt;
  +      &lt;include name="**/*.html"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;
   </pre>
  @@ -495,15 +495,15 @@
   The <code>systemTypeKey</code> is not necessary here but helps clarify what 
is
   going on.</p>
   <pre>
  -  &lt;ftp action=&quot;get&quot;
  -       server=&quot;ftp.hypthetical.fr&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot;
  -       defaultDateFormatConfig=&quot;d MMM yyyy&quot;
  -       recentDateFormatConfig=&quot;d MMM HH:mm&quot;
  -       serverLanguageCodeConfig=&quot;fr&quot;&gt;
  -     &lt;fileset dir=&quot;htdocs/manual&quot;&gt;
  -      &lt;include name=&quot;**/*.html&quot;/&gt;
  +  &lt;ftp action="get"
  +       server="ftp.hypthetical.fr"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"
  +       defaultDateFormatConfig="d MMM yyyy"
  +       recentDateFormatConfig="d MMM HH:mm"
  +       serverLanguageCodeConfig="fr"&gt;
  +     &lt;fileset dir="htdocs/manual"&gt;
  +      &lt;include name="**/*.html"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;
   </pre>
  @@ -519,12 +519,12 @@
   fact, the dir attribute of the fileset is ignored completely.
   
   <pre>
  -  &lt;ftp action=&quot;del&quot;
  -       server=&quot;ftp.apache.org&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot;&gt;
  +  &lt;ftp action="del"
  +       server="ftp.apache.org"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"&gt;
       &lt;fileset&gt;
  -      &lt;include name=&quot;**/*.tmp&quot;/&gt;
  +      &lt;include name="**/*.tmp"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;
   </pre>
  @@ -533,13 +533,13 @@
   If you don't have permission to delete a file, a BuildException is 
thrown.</p>
   <h3>Listing Files</h3>
   <pre>
  -  &lt;ftp action=&quot;list&quot;
  -       server=&quot;ftp.apache.org&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot; 
  -       listing=&quot;data/ftp.listing&quot;&gt;
  +  &lt;ftp action="list"
  +       server="ftp.apache.org"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"
  +       listing="data/ftp.listing"&gt;
       &lt;fileset&gt;
  -      &lt;include name=&quot;**&quot;/&gt;
  +      &lt;include name="**"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;
   </pre>
  @@ -551,11 +551,11 @@
   <p>Note that with the mkdir action, the directory to create is specified 
using the
   remotedir attribute.</p>
   <pre>
  -  &lt;ftp action=&quot;mkdir&quot;
  -       server=&quot;ftp.apache.org&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot; 
  -       remotedir=&quot;some/remote/dir&quot;/&gt;
  +  &lt;ftp action="mkdir"
  +       server="ftp.apache.org"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"
  +       remotedir="some/remote/dir"/&gt;
   </pre>
   <p>This creates the directory <code>some/remote/dir</code> beneath the 
default root
   directory.  As with all other actions, the directory separator character 
must be correct
  @@ -572,14 +572,14 @@
   thrown.
   
   <pre>
  -  &lt;ftp action=&quot;rmdir&quot;
  -       server=&quot;ftp.apache.org&quot;
  -       userid=&quot;anonymous&quot;
  -       password=&quot;[EMAIL PROTECTED]&quot; 
  -       remotedir=&quot;/somedir&quot; &gt;
  +  &lt;ftp action="rmdir"
  +       server="ftp.apache.org"
  +       userid="anonymous"
  +       password="[EMAIL PROTECTED]"
  +       remotedir="/somedir" &gt;
       &lt;fileset&gt;
  -      &lt;include name=&quot;dira&quot;/&gt;
  -      &lt;include name=&quot;dirb/**&quot;/&gt;
  +      &lt;include name="dira"/&gt;
  +      &lt;include name="dirb/**"/&gt;
       &lt;/fileset&gt;
     &lt;/ftp&gt;
   </pre>
  @@ -594,20 +594,20 @@
   </p>
   <p>As an example suppose you want to delete everything contained into 
   <code>/somedir</code>, so invoke first the <code>&lt;ftp&gt;</code> task with
  -<code>action=&quot;delete&quot;</code>, then with 
  -<code>action=&quot;rmdir&quot;</code> specifying in both cases
  -<code>remotedir=&quot;/somedir&quot;</code> and
  +<code>action="delete"</code>, then with
  +<code>action="rmdir"</code> specifying in both cases
  +<code>remotedir="/somedir"</code> and
   
   <pre>
       &lt;fileset&gt;
  -        &lt;include name=&quot;**&quot;/&gt;
  +        &lt;include name="**"/&gt;
       &lt;/fileset&gt;
   </pre>
   
   The directory specified in the <code>remotedir</code> parameter is never
   selected for remove, so if you need to remove it, specify its parent in
   <code>remotedir</code> parameter and include it in the 
  -<code>&lt;fileset&gt;</code> pattern, like 
<code>&quot;somedir/**&quot;</code>.
  +<code>&lt;fileset&gt;</code> pattern, like <code>"somedir/**"</code>.
   </p>
   <hr>
   <p align="center">Copyright &copy; 2000-2005 The Apache Software Foundation. 
All rights
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to