Issue Details (XML | Word | Printable)

Key: NET-44
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Kirk Rothe
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Net

FTP get actions won't download files

Created: 20/Dec/03 06:18 AM   Updated: 20/Sep/07 05:31 AM
Return to search
Component/s: None
Affects Version/s: Nightly Builds
Fix Version/s: None

Time Tracking:
Not Specified

Environment:
Operating System: All
Platform: PC

Bugzilla Id: 25668


 Description  « Hide
The FTP get action returns success but does not get files.

Environment:
------------
ant 1.6.0 (downloaded December 18th)
Windows 2000 Server
JAVA_HOME=c:\jsdk1.4.1_02
ANT_HOME=c:\ant1.6
ANT_OPTS=-Xmx128m
ClassPath=c:\ant1.6\apache-ant-1.6.0\lib

Steps to reproduce:
-------------------
1. Create an anonymous ftp server on a windows localhost
2. Create the following target (substitute the server and login credentials as
necessary):

<target name="downloadftp">
<ftp action="get"
server="krothe"
userid="anonymous"
password=""
verbose="yes"
passive="yes"
separator="\"
<fileset dir="c:\">
<include name="linux.md5"/>
</fileset>
</ftp>
</target>

3. run the following ant command from the location of your build.xml:
ant downloadftp

Note that the following output appears on std. out:

downloadftp:
[ftp] getting files
[ftp] 0 files retrieved

BUILD SUCCESSFUL
Total Time: 2 seconds

No matter what settings I try the get action does not work.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Henri Yandell made changes - 16/May/06 09:36 AM
Field Original Value New Value
issue.field.bugzillaimportkey 25668 12341168
Henri Yandell made changes - 16/May/06 11:48 AM
Key COM-1017 NET-44
Assignee ANT Developer Mailing List [ dev@ant.apache.org ]
Affects Version/s 1.0 Alpha [ 12311665 ]
Component/s Net [ 12311127 ]
Project Commons [ 12310458 ] Commons Net [ 12310487 ]
Henri Yandell made changes - 16/May/06 12:30 PM
Affects Version/s 1.0 Alpha [ 12311775 ]
Henri Yandell made changes - 20/Sep/07 05:31 AM
Status Resolved [ 5 ] Closed [ 6 ]