ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Ballesteros" <jballeste...@infodesa.es>
Subject RE: Problems deleting files or directories via ftp
Date Mon, 16 Jan 2006 16:18:06 GMT
Hi!

	As I posted early, when I put files manually, using same user, same
password in other words the same account I can delete, create or whatever.
That's the reason of my confusion about where the problem is. I know thi is
a simple script and must work, but in fact doesn't.

Thnkx and cheers!

-----Mensaje original-----
De: glenn opdycke-hansen [mailto:glennoph@gmail.com]
Enviado el: lunes 16 de enero de 2006 17:22
Para: Ant Users List
Asunto: Re: Problems deleting files or directories via ftp


Does the user have permissions to delete the file(s)?

from google:
Answer/Solution: The 550 error is a message from the server stating
that the account you have currently logged in as does not have
permission to perform the action you are attempting. You may be trying
to upload to the wrong directory or trying to delete a file.

--glenn

On 1/16/06, Javier Ballesteros <jballesteros@infodesa.es> wrote:
> Hi all!
>
>         I have a simple piece of code, to remove files and/or directories,
Ive just
> copied the most simple example, and every time I try to execute it, I
> obtaoin an ftp 550 error. I'm the only user of the ftp, no process is
> locking the file, I have all the permissions, and samples for uploading
are
> workig properly.
>
>         I paste the code and the output:
>
>         <ftp    action="delete"
>                         server="server.com"
>                         userid="user"
>                 password="password"
>                 verbose="yes"
>                 remotedir="remote_dir" >
>                 <fileset>
>                         <include name="**/*.xml" />
>                 </fileset>
>         </ftp>
>
> 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.
>
>         The error tell me that the file that I want to delete is not
found. I don't
> understand, please can help me?
>
>
> Version of ANT:1.4 under Windows NT.
>
> Thankx in advance!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message