Mailinglist Archive: opensuse-bugs (5058 mails)

< Previous Next >
[Bug 749895] New: ant FTP action fails when remote file is in a sub-directory and has a date of Feb 29
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 1 Mar 2012 15:29:12 +0000
  • Message-id: <bug-749895-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=749895

https://bugzilla.novell.com/show_bug.cgi?id=749895#c0


Summary: ant FTP action fails when remote file is in a
sub-directory and has a date of Feb 29
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 12.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: rcoe@xxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101
Firefox/10.0.2

When ftp remotedir is in a subdirectory, and the file has a date of Feb 29,
the transfer fails with no error.

An FTP get task in our ant build fails for for fetching files
created on Feb 29.
The failure is caused by
org.apache.commons.net.ftp.parser.UnixFTPEntryParser.parseFTPEntry
in apache-commons-net 1.4.1 and is fixed by apache-commons-net 3.1.

ant stanza:
<target name="ftp.get.results" >
<ftp server="${build-server}"
userid="${remote-user}"
password="${remote-pass}"
passive="yes"
action="get"
binary="yes"
remotedir="${release.home}">
<fileset dir="${release.dir}/install">
<include name="*.tar"/>
</fileset>
</ftp>
</target>

Some details can be found here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=52799

Issue fixed by:
https://issues.apache.org/jira/browse/NET-444


Reproducible: Always

Steps to Reproduce:
1. Use apache ant FTP action 'get'
2. Attempt to fetch a file created on Feb 29

Actual Results:
No file is fetched

Expected Results:
file is fetched

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >