ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Alth" <OA...@de.ibm.com>
Subject Re: Problems with FTP task
Date Wed, 16 Apr 2003 10:13:53 GMT

But, obviously it hasn't ????

it's /u/uni1/checkout.


Oliver

__________________________________________________________________
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


|---------+---------------------------->
|         |           "Antoine         |
|         |           Levy-Lambert"    |
|         |           <levylambert@tisc|
|         |           ali-dsl.de>      |
|         |                            |
|         |           16.04.2003 11:35 |
|         |           Please respond to|
|         |           "Ant Users List" |
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------|
  |                                                                                      
                       |
  |       To:       "Ant Users List" <user@ant.apache.org>                         
                             |
  |       cc:                                                                            
                       |
  |       Subject:  Re: Problems with FTP task                                           
                       |
  |                                                                                      
                       |
  >--------------------------------------------------------------------------------------------------------------|




Can it be that the directory the ftp task has a problem with has a space in
its name ?
Antoine
----- Original Message -----
From: "Oliver Alth" <OALTH@de.ibm.com>
To: <user@ant.apache.org>
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
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


---------------------------------------------------------------------
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






Mime
View raw message