DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19064

Problem with ftp task transferring from Windows to Linux

           Summary: Problem with ftp task transferring from Windows to Linux
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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?):


C:\ant_test>ant upload -Dname=Xtcm
Buildfile: build.xml

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:71: could not change to directory: 550 copy\com\ibm\d
e\scm\xtcm: No such file or directory.



Here's the code:

<ftp userid="oalth" password="oal123" server="lnxcce1"
remotedir="checkout/Xtcm_Docu" verbose="true">
        <fileset dir="${basedir}/${cvs.checkout.dir}/${name}">
        <include name="**/*.*"/>
        </fileset>
</ftp>

Reply via email to