ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Alth" <OA...@de.ibm.com>
Subject Problems with FTP task
Date Wed, 16 Apr 2003 09:02:49 GMT
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
message
(obviously, it cannot change directories, but why?):

upload:
      [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:
\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\ant\
AntRunner.java
      [ftp] transferring C:
\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\ant\
AntRunnerTester.java
      [ftp] transferring C:
\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\ant\
EntityManagerImpl.java
      [ftp] transferring C:
\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\core
\InvocationManagerImpl.java

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


The same transfer works fine using a graphical client like FlashFXP or
CuteFTP.
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}">
        </fileset>
</ftp>


</target>







__________________________________________________________________
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
Internet: OALTH@DE.IBM.COM


Mime
View raw message