ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From glenn opdycke-hansen <glenn...@gmail.com>
Subject Re: Problems deleting files or directories via ftp
Date Mon, 16 Jan 2006 16:22:22 GMT
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


Mime
View raw message