You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Steve Loughran <st...@apache.org> on 2006/03/01 12:44:42 UTC
Re: Ant FTP Hangs
JWM wrote:
> Rhino,
>
> Thanks for the reply. I'm certain the space is there. Also, the first time
> it transferred a bunch of files and hung. Restarted and it transferred a
> bunch more files before it hung, etc. Ditto several times. If it was a
> target space problem, I suspect it would hit a wall at the same file each
> time.
>
> I'll check out the other FTP task and see if I have better luck.
>
> In the meantime, if anybody else knows a way to drill down with additional
> traces/logs to see precisely what is hanging, I'm willing to do the
> analysis.
>
You could maybe do a verbose run, but realistically, you are into
debugging distributed systems at this point, which means you are out of
the world of easily replicable conditions.
-If you can, use <scp>. Its a far more reliable way of transferring
files, because the structure of date/time is more formal. the ftp code
has to parse the responses, and in the past has had trouble with
localised text and windows.
-make sure you have the latest ftp libraries.
-steve
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
How to FTP Empty Dirs
Posted by kinjal <ki...@lionbridge.com>.
Hi All,
I am using FTP task of ANT as below:
<input message="Please enter the Drive latter you mapped for Components:"
addproperty="Component"/>
<ftp server="10.3.248.31"
userid="userid"
password="password"
remotedir="remotedir"
verbose="yes">
<fileset dir="${Component}\New Folder\">
<include name="**"/>
</fileset>
</ftp>
******************************************
This works fine, but there is some empty directories in "${Component}\New
Folder\" which are not being transfer. How to transfer them?
Reply me ASAP.
Kinjal Vohra
Telephone:+91 22 5556 7139
Cell :+91 9867 240708
-----Original Message-----
From: Steve Loughran [mailto:stevel@apache.org]
Sent: Wednesday, March 01, 2006 17:15
To: Ant Users List
Subject: Re: Ant FTP Hangs
JWM wrote:
> Rhino,
>
> Thanks for the reply. I'm certain the space is there. Also, the first
time
> it transferred a bunch of files and hung. Restarted and it transferred a
> bunch more files before it hung, etc. Ditto several times. If it was a
> target space problem, I suspect it would hit a wall at the same file each
> time.
>
> I'll check out the other FTP task and see if I have better luck.
>
> In the meantime, if anybody else knows a way to drill down with additional
> traces/logs to see precisely what is hanging, I'm willing to do the
> analysis.
>
You could maybe do a verbose run, but realistically, you are into
debugging distributed systems at this point, which means you are out of
the world of easily replicable conditions.
-If you can, use <scp>. Its a far more reliable way of transferring
files, because the structure of date/time is more formal. the ftp code
has to parse the responses, and in the past has had trouble with
localised text and windows.
-make sure you have the latest ftp libraries.
-steve
---------------------------------------------------------------------
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