Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 36989 invoked by uid 500); 18 Sep 2001 12:31:16 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 36980 invoked from network); 18 Sep 2001 12:31:15 -0000 Message-ID: <935CDAA5FE48D411B37F00805F892C1103CFF009@wwlnx06.worldwide.bbc.co.uk> From: Will Dyke To: "'ant-user@jakarta.apache.org'" Subject: RE: FTP put problems Date: Tue, 18 Sep 2001 13:30:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've just tried ftp'ing files from my local machine to the remote machine, which showed me two things - one, that snoop would definitely detect this, and two, there are no problems with the particular file I wish to transfer. I've edited my fileset to and build.xml is not sent by the task. FTPing by hand (via the command prompt, so nothing funky going on in the background) works fine. Will -----Original Message----- From: Kapil_Pawar@i2.com [mailto:Kapil_Pawar@i2.com] Sent: 18 September 2001 12:40 To: ant-user@jakarta.apache.org Subject: Re: FTP put problems Hi Will, I had faced a similar problem on Solaris once using Ant FTP task. At that time the reason was that the file had the characters "01" in its name and for some reason the files in that case were becoming invisible. So I kept suspecting that there was a problem with Ant FTP only to realise that even ordinary FTP was failing to show up the transferred file. The problem got solved when I tried to run 'rm -i *' in that folder!! Regards _____________________________________ Kapil Singh Pawar Consultant - Integration i2 Technologies India Private Ltd. 1 Primrose Road Bangalore 560 025, INDIA Email: kapil_pawar@i2.com Tel: +91 80 558 1487-90 ext. 2416 Will Dyke 09/18/01 04:53 PM Please respond to ant-user To: "'ant-user@jakarta.apache.org'" cc: Subject: FTP put problems I'm using the following test script to ftp files up to a server Running the command line ant -buildfile ftp-test.xml -Dftp=yes -debug -verbose results in the following: Ant version 1.4 compiled on September 3 2001 Ant version 1.4 compiled on September 3 2001 Buildfile: ftp-test.xml Detected Java version: 1.3 in: c:\jdk1.3\jre Detected OS: Windows NT parsing buildfile D:\ant\1.4\bin\ftp-test.xml with URI = file:D:/ant/1.4/bin/ftp -test.xml Project base dir set to: D:\ant\1.4\bin Build sequence for target `ftp' is [ftp.properties.chk, ftp] Complete build sequence is [ftp.properties.chk, ftp] ftp.properties.chk: ftp: [property] Loading D:\ant\1.4\bin\ftp.properties [ftp] Opening FTP connection to www-cache-icl.reith.bbc.co.uk [ftp] connected [ftp] logging in to FTP server [ftp] login succeeded [ftp] disconnecting BUILD SUCCESSFUL Total time: 1 second No files are uploaded however. Snooping the ftp port at the server end also confirms that everything apart from the upload goes ok. I'm guessing the problem is my but can anyone confirm this or suggest an alternative reason? Thanks, Will Dyke This e-mail, and any attachment, is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify me immediately. The contents of this message may contain personal views which are not the views of the BBC, unless specifically stated. This e-mail, and any attachment, is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify me immediately. The contents of this message may contain personal views which are not the views of the BBC, unless specifically stated.