Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8238 invoked from network); 16 Jan 2006 16:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jan 2006 16:27:14 -0000 Received: (qmail 74787 invoked by uid 500); 16 Jan 2006 16:27:07 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74747 invoked by uid 500); 16 Jan 2006 16:27:07 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 74736 invoked by uid 99); 16 Jan 2006 16:27:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 08:27:07 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.38.105.205] (HELO proxy.infodesa.es) (80.38.105.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 08:27:05 -0800 Received: from SERVIDOR12.infodesa.es (ficus.infodesa.es [129.47.1.114]) by proxy.infodesa.es (Postfix) with ESMTP id E562A21EFE1 for ; Mon, 16 Jan 2006 17:29:04 +0100 (CET) Received: from servidor15.infodesa.es ([129.47.1.111]) by SERVIDOR12.infodesa.es with Microsoft SMTPSVC(6.0.3790.1830); Mon, 16 Jan 2006 17:27:07 +0100 Received: from inf0228 ([129.47.2.33]) by servidor15.infodesa.es with Microsoft SMTPSVC(6.0.3790.0); Mon, 16 Jan 2006 17:27:07 +0100 From: "Javier Ballesteros" To: "Ant Users List" Subject: RE: Problems deleting files or directories via ftp Date: Mon, 16 Jan 2006 17:18:06 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: X-OriginalArrivalTime: 16 Jan 2006 16:27:07.0718 (UTC) FILETIME=[B1940E60:01C61AB9] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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: > > server="server.com" > userid="user" > password="password" > verbose="yes" > remotedir="remote_dir" > > > > > > > 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