You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/01/16 10:37:16 UTC

DO NOT REPLY [Bug 38286] New: - ftp task doesn't delete any remote file or directories

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=38286>.
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=38286

           Summary: ftp task doesn't delete any remote file or directories
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jballesteros@infodesa.es


When I run this piece of ant code, I get an error. The code is exactly the same
that is in the example docs.

<ftp  	action="delete"	
		server="server.com"
       		userid="user"
       		password="password"
       		verbose="yes" 
       		remotedir="remote_dir" >
       		<fileset>
      			<include name="**/*" />
      		</fileset>
     	</ftp>

When I run this piece of code I get this error:

Buildfile: subida.xml

ftp:
     [echo] Conexion FTP a 172.27.6.6 para borrar destino
     [echo] Borrando los directorios FTP del cliente: ismc_pruebas/cliente 
      [ftp] deleting files
      [ftp] deleting ne 10:33 ejb-jar.xml

Total time: 2 seconds

BUILD FAILED

C:\jakarta-ant-1.4\bin\subida.xml:55: could not delete file: 550 ne 10:33
ejb-jar.xml: No such file or directory.


    I have no idea about this error, when I put, get or listing is working
rigth, but the delete feature doensn't work at all. Please, would you give me
any clue about this?


Thnks in advance!

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38286] - ftp task doesn't delete any remote file or directories

Posted by bu...@apache.org.
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=38286>.
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=38286





------- Additional Comments From harnack@iskv.de  2006-01-16 11:20 -------
> C:\jakarta-ant-1.4\bin\subida.xml:55: could not delete file: 550 ne 10:33
You have no right to write/delete the file.
550 -> user and group have only the right to read and execute

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38286] - ftp task doesn't delete any remote file or directories

Posted by bu...@apache.org.
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=38286>.
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=38286


carej@us.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From carej@us.ibm.com  2006-01-16 14:38 -------
This seems to be a "what am I doing wrong" query as opposed to "the task is
broken" bug.

Please move this discussion to the user mailing list.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38286] - ftp task doesn't delete any remote file or directories

Posted by bu...@apache.org.
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=38286>.
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=38286





------- Additional Comments From jballesteros@infodesa.es  2006-01-16 12:01 -------
Hi!

    I'm the only user using ftp, when I delete the file manually no problem
arises. FTP error sugests a permissions problem, but I'm sure that that's not
the problem. The syntax of ant piece of code, seems good, but doesn't work at
all. Any idea?

Thankx!


(In reply to comment #3)
> Maybe a process is locking the file ?!?
> 
> Regards,
> Frank 
> 
> (In reply to comment #2)
> > (In reply to comment #1)
> > > > C:\jakarta-ant-1.4\bin\subida.xml:55: could not delete file: 550 ne 10:33
> > > You have no right to write/delete the file.
> > > 550 -> user and group have only the right to read and execute
> > Manually, the permissions are rigth, with same user, same password. The FTP
> > message is not usefull...
> 
> 



-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38286] - ftp task doesn't delete any remote file or directories

Posted by bu...@apache.org.
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=38286>.
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=38286





------- Additional Comments From harnackf@mail05.harlau.de  2006-01-17 15:25 -------
and 550 has nothing to do with r-xr-x---   .
It's only an error code.
In the future I should think a little before writing!

(In reply to comment #6)
> (In reply to comment #1)
> > > C:\jakarta-ant-1.4\bin\subida.xml:55: could not delete file: 550 ne 10:33
> > You have no right to write/delete the file.
> > 550 -> user and group have only the right to read and execute
> I have made a little mistake:
> You can delete a file without the right to modify (write) it, then you have 
the 
> write permission on the dir in which the file is located. The file 
permissions 
> are not your problem, but maybe the permissions of the dir.
> @ANT Developer Mailing List
> Sorry that I posting this here.
> But it seems to be the only place to rectify my comment.



-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38286] - ftp task doesn't delete any remote file or directories

Posted by bu...@apache.org.
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=38286>.
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=38286





------- Additional Comments From jballesteros@infodesa.es  2006-01-16 11:27 -------
(In reply to comment #1)
> > C:\jakarta-ant-1.4\bin\subida.xml:55: could not delete file: 550 ne 10:33
> You have no right to write/delete the file.
> 550 -> user and group have only the right to read and execute


Manually, the permissions are rigth, with same user, same password. The FTP
message is not usefull...

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38286] - ftp task doesn't delete any remote file or directories

Posted by bu...@apache.org.
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=38286>.
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=38286





------- Additional Comments From harnackf@mail05.harlau.de  2006-01-16 11:51 -------
Maybe a process is locking the file ?!?

Regards,
Frank 

(In reply to comment #2)
> (In reply to comment #1)
> > > C:\jakarta-ant-1.4\bin\subida.xml:55: could not delete file: 550 ne 10:33
> > You have no right to write/delete the file.
> > 550 -> user and group have only the right to read and execute
> Manually, the permissions are rigth, with same user, same password. The FTP
> message is not usefull...



-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 38286] - ftp task doesn't delete any remote file or directories

Posted by bu...@apache.org.
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=38286>.
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=38286





------- Additional Comments From harnackf@mail05.harlau.de  2006-01-16 16:21 -------
(In reply to comment #1)
> > C:\jakarta-ant-1.4\bin\subida.xml:55: could not delete file: 550 ne 10:33
> You have no right to write/delete the file.
> 550 -> user and group have only the right to read and execute

I have made a little mistake:

You can delete a file without the right to modify (write) it, then you have the 
write permission on the dir in which the file is located. The file permissions 
are not your problem, but maybe the permissions of the dir.

@ANT Developer Mailing List
Sorry that I posting this here.
But it seems to be the only place to rectify my comment.


-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org