ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Problems with FTP task
Date Wed, 16 Apr 2003 10:54:24 GMT
I guess you are doing a ftp from windows to Unix.
Could you have a look in bugzilla http://issues.apache.org/bugzilla to see
if there are similar bug reports already entered.
For instance http://issues.apache.org/bugzilla/show_bug.cgi?id=12258
Also search the mailing lists archives
http://marc.theaimsgroup.com/?l=ant-user&r=1&w=2 and
http://marc.theaimsgroup.com/?l=ant-dev&r=1&w=2 to see if others have
already discussed similar problems.
If you do not find a solution, but you can tie your problem to an existing
bug report, add comments in the bug report and your email as CC.
If your problem is new, file a new bug report.
I have read somewhere about  an alternative ftp task which works better, but
I can't remember where it can be found.
Antoine
----- Original Message -----
From: "Oliver Alth" <OALTH@de.ibm.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Wednesday, April 16, 2003 12:13 PM
Subject: Re: Problems with FTP task



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






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message