DO NOT REPLY [Bug 31541] - Unable to delete files with the ftp task

2004-12-05 Thread bugzilla
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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2004-12-05 13:54 ---
Ah, with the latest nightly snapshot of commons-net the ftp task works as 
expected. It seems this bug was related to bugreport #30737. Thanks for your 
help to solve this issue.

Cheers,
Lars

*** This bug has been marked as a duplicate of 30737 ***

-- 
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]



DO NOT REPLY [Bug 31541] - Unable to delete files with the ftp task

2004-12-03 Thread bugzilla
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-12-03 16:10 ---
I think this may be related to a bug in Commons::Net that manifested itself when
a file had a timestamp like 00:xx or 0:xx. Can you try the latest snapshot of
commons-net (1.3.0-dev)? I think that this may solve the problem. Cheers.

-- 
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]



DO NOT REPLY [Bug 31541] - Unable to delete files with the ftp task

2004-11-19 Thread bugzilla
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 ownergroup   0 Nov 19  0:59 test.bin
-rwxrwxrwx   1 ownergroup   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]



DO NOT REPLY [Bug 31541] - Unable to delete files with the ftp task

2004-11-18 Thread bugzilla
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-18 07:26 ---
Looking at your output and the code, it looks like something is going on with
the delFile method.

As you're specifying a fileset (I assume from the build.xml included below), the
task looks inside the fileset and then perorms the desired action, in this case
delFile.  I think for some reason, the FTPClient object can't delete the file on
the server, but the warning message that the file couldn't be deleted will be
swallowed and the # processed won't be incremented if skipFailedTransfers is set
to false.  Normally this would produce a BuildException, except in your case it
isn't, which is pretty strange.

Can you try it with verbose=true and see if it logs a skipping file message?





-- 
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]



DO NOT REPLY [Bug 31541] - Unable to delete files with the ftp task

2004-10-06 Thread bugzilla
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

Unable to delete files with the ftp task





--- Additional Comments From [EMAIL PROTECTED]  2004-10-06 18:42 ---
Which version of commons-net are you using ? 1.2.2 is recommended.
Cheers,
Antoine

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



DO NOT REPLY [Bug 31541] - Unable to delete files with the ftp task

2004-10-06 Thread bugzilla
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

Unable to delete files with the ftp task





--- Additional Comments From [EMAIL PROTECTED]  2004-10-06 19:17 ---
I'm already using the latest version of commons-net and jakarta-oro (commons-
net-1.2.2.jar, jakarta-oro-2.0.8.jar). And with the following build.xml I am 
able to reproduce this problem on different clients / ftp servers:

project name=FTP test default=test
target name=test
ftp action=del remotedir=/transfer
server=localhost userid=*** password=***
fileset includes=test.bin/
/ftp
/target
/project


regards,
Lars

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