ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Ballesteros" <jballeste...@infodesa.es>
Subject Problems deleting files or directories via ftp
Date Mon, 16 Jan 2006 15:36:41 GMT
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


Mime
View raw message