stevel 01/10/18 17:48:54
Modified: docs/manual/OptionalTasks ftp.html
Log:
bug #4111: ftp task does not work with a Windows 2000 ftp server with "MSDOS"
directory listing. This is now documented.
Revision Changes Path
1.6 +7 -0 jakarta-ant/docs/manual/OptionalTasks/ftp.html
Index: ftp.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/ftp.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ftp.html 2001/08/30 13:23:14 1.5
+++ ftp.html 2001/10/19 00:48:54 1.6
@@ -23,6 +23,11 @@
<p>See the section on <a
href="../dirtasks.html#directorybasedtasks">directory based
tasks</a>, on how the inclusion/exclusion of files works, and how to
write patterns.</p>
+<p>
+<b>Warning: </b> for the get and delete actions to work properly
+with a Windows 2000 ftp server, it needs to be configured to generate
+Unix style listings, and not the default MS-DOS listing. Or someone needs to
write
+the code to parse MS-DOS listings -any takers?
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
@@ -196,11 +201,13 @@
<p>Logs in to <code>ftp.apache.org</code> as <code>anonymous</code> and
recursively downloads all .html files from default directory for that user
into the <code>htdocs/manual</code> directory on the local machine.</p>
+.
<h3>Deleting Files</h3>
As you've probably guessed by now, you use nested fileset elements to
select the files to delete from the remote FTP server. Again, the
filesets are relative to the remote directory, not a local directory. In
fact, the dir attribute of the fileset is ignored completely.
+
<pre>
<ftp action="del"
server="ftp.apache.org"