ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Sushkov" <>
Subject Re: ASF Bugzilla - Bug 39644: FTP task fails, but reason is unclear
Date Wed, 09 Apr 2008 17:59:31 GMT
To whom it may concern,

I am having the same type of problem with Ant FTP task as described in the
ASF Bugzilla bug #39644:

FTP task seems to fail in the middle of large file transfers (~100Mb in size
and more) but the reason is not clear.
I am using the following components:
Apache Ant version 1.6.5 compiled on June 2 2005

Jakarta-oro-2.0.8.jar file:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3 
Created-By: 1.4.2-b28 (Sun Microsystems Inc.)

Name: org/apache/oro
Specification-Title: Jakarta ORO
Specification-Version: 2.0.8
Specification-Vendor: Apache Software Foundation
Implementation-Title: org.apache.oro
Implementation-Version: 2.0.8 2003-12-28 11:00:13
Implementation-Vendor: Apache Software Foundation

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3 
Created-By: Apache Jakarta Maven
Built-By: scohen
Build-Jdk: 1.4.2_07
Extension-Name: commons-net
Specification-Title: Jakarta Commons Net
Specification-Vendor: The Apache Software Foundation
Specification-Version: 1.4.1
Implementation-Vendor: The Apache Software Foundation
Implementation-Version: 1.4.1

I use the FTP task as follows (within the Anty script):
  <!--  create the remote MIRW directory if it does not yet exist   --> 
  <ftp server="${ftp.server}" action="mkdir" userid="${ftp.user}"
password="${ftp.password}" remotedir="${ftp.mirw.dir}" verbose="yes" /> 
  <!--  Upload MIRW   --> 
  <ftp server="${ftp.server}" action="put" userid="${ftp.user}"
password="${ftp.password}" remotedir="${ftp.mirw.dir}" verbose="yes"
binary="yes" depends="yes" timediffauto="true">
  	<!--  pick MIRW installer(s)   --> 
	<fileset dir="${installer.root}/${mirw.package.dir}">
  		<include name="${mirw.installer}" /> 

The file size to trtansfer  is 143 MB (150,532,096 bytes).
The script fails with the following message:
      [ftp] Creating directory: MIRW/6.0.0.beta
      [ftp] Directory created OK
   [delete] Deleting: C:\Documents and Settings\MITI.MITI\Local
      [ftp] sending files
      [ftp] transferring C:\User\MITI-6.x\Dev\InstallShield\MITI

C:\User\MITI-6.x\Dev\build\build.xml:918: error during FTP transfer: IOException caught while

What is the resolution to the FTP exception problem? 
Are there any additional FTP task parameters that may help here (like # of
retries etc.)?

Thank you.

View raw message