ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: Problems with FTP task
Date Wed, 16 Apr 2003 09:35:53 GMT
Can it be that the directory the ftp task has a problem with has a space in
its name ?
----- Original Message -----
From: "Oliver Alth" <>
To: <>
Sent: Wednesday, April 16, 2003 11:02 AM
Subject: Problems with FTP task

Hello, I am trying to upload
files using the <ftp> task.

But the ftp task aborts the transfer after a few files with the following
(obviously, it cannot change directories, but why?):

      [ftp] sending files
      [ftp] transferring C:\ant_test\checkout\Xtcm\.classpath
      [ftp] transferring C:\ant_test\checkout\Xtcm\.project
      [ftp] transferring C:\ant_test\checkout\Xtcm\.uml\mapping.repository
      [ftp] transferring C:\ant_test\checkout\Xtcm\.uml\uml.repository
      [ftp] transferring C:\ant_test\checkout\Xtcm\build.xml
      [ftp] transferring C:
      [ftp] transferring C:
      [ftp] transferring C:
      [ftp] transferring C:

file:C:/ant_test/build.xml:61: could not change to directory: 550 CWD cmd
 : EDC5129I No such file or directory.

The same transfer works fine using a graphical client like FlashFXP or
So it is unlikely to be a filesystem problem.

Here's my build.xml snippet:

<!-- Experimental target for copying to ftp -->
<target name="upload" depends="check_environment">

<ftp userid="myuser" password="mypwd" server="myserver" remotedir
="/u/uni1/checkout" verbose="true">
        <fileset dir="${cvs.checkout.dir}">


IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message