diff --git a/docs/manual/OptionalTasks/ftp.html b/docs/manual/OptionalTasks/ftp.html index 4f52fdc2a..fe8e24cd7 100644 --- a/docs/manual/OptionalTasks/ftp.html +++ b/docs/manual/OptionalTasks/ftp.html @@ -28,10 +28,11 @@ This task does not currently use the proxy information set by the <setproxy> task, and cannot go through a firewall via socks.

-Warning: 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? +Warning: there have been problems reported concerning the ftp get with newer attribute. +Problems might be due to format of ls -l differing from what is expected by commons-net, +for instance due to specificities of langage used by the ftp server in the directory listing. +If you encounter such a problem, please send an email including a sample directory listing +coming from your ftp server (ls -l on the ftp prompt).

Parameters

@@ -62,8 +63,10 @@ the code to parse MS-DOS listings -any takers? - + @@ -150,7 +153,91 @@ the code to parse MS-DOS listings -any takers?
remotedirthe directory to which to upload files on the - ftp server.remote directory on the + ftp server + see table below for detailed usage + No
No; defaults to false.
-

Parameters specified as nested elements

+

Note about remotedir attribute

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Action
+
meaning of remotedir
+
use of nested fileset +(s)
+
send/put
+
base directory to +which the files are sent
+
they are used normally and +evaluated on the local machine
+
recv/get
+
base directory from +which the files are retrieved
+
the remote files located under +the remotedir matching the include/exclude patterns of +the fileset 
del/delete
+
base directory from +which files get deleted
+
the remote files located under +the remotedir matching the include/exclude patterns of +the fileset
+
list
+
base directory from +which files are listed
+
the remote files located under +the remotedir matching the include/exclude patterns of +the fileset
+
mkdirdirectory to create
+
not used
+
chmodbase directory from +which the mode of files get changed
+
the remote files located under +the remotedir matching the include/exclude patterns of +the fileset
+
rmdir
+
base directory from +which directories get removed
+
the remote directories located +under the remotedir matching the include/exclude +patterns of the fileset
+

Parameters specified as nested elements

fileset

The ftp task supports any number of nested <fileset> elements to specify @@ -337,7 +424,7 @@ selected for remove, so if you need to remove it, specify its parent in <fileset> pattern, like "somedir/**".


-

Copyright © 2000-2002 Apache Software Foundation. All rights +

Copyright © 2000-2003 Apache Software Foundation. All rights Reserved.