DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31541>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31541





------- Additional Comments From [EMAIL PROTECTED]  2004-11-19 10:39 -------
Since other ftp actions show similar behaviour I assume there is a bug in 
commons-net. Maybe there is a problem parsing the list result, although it 
looks very similar in both cases:

-rwxrwxrwx   1 owner    group               0 Nov 19  0:59 test.bin
-rwxrwxrwx   1 owner    group               0 Nov 19  1:00 test.bin

Here an example with the list action:

[C:\Inetpub]touch /t00:59:59 \Inetpub\ftproot\transfer\test.bin
19.11.2004 00:59:59  C:\Inetpub\ftproot\transfer\test.bin

[C:\Inetpub]ant test
Buildfile: build.xml

test:
      [ftp] listing files
      [ftp] 0 files listed
      [ftp] deleting files
      [ftp] 0 files deleted

BUILD SUCCESSFUL
Total time: 1 second

[C:\Inetpub]touch /t01:00:00 \Inetpub\ftproot\transfer\test.bin
19.11.2004 01:00:00  C:\Inetpub\ftproot\transfer\test.bin

[C:\Inetpub]ant test
Buildfile: build.xml

test:
      [ftp] listing files
      [ftp] listing test.bin
      [ftp] 1 files listed
      [ftp] deleting files
      [ftp] deleting test.bin
      [ftp] 1 files deleted

BUILD SUCCESSFUL
Total time: 1 second


And for the sake of completeness, here my build.xml:

<project name="FTP test" default="test">
    <target name="test">
        <ftp action="list" remotedir="/transfer" verbose="true" 
listing="listing.txt"
            server="localhost" userid="***" password="***">
            <fileset includes="test.bin"/>
        </ftp>
        <ftp action="del" remotedir="/transfer" verbose="true"
            server="localhost" userid="***" password="***">
            <fileset includes="test.bin"/>
        </ftp>
    </target>
</project>


Cheers,
Lars

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to