ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: FTP "Depends" option for size as well as date?
Date Wed, 20 Dec 2006 16:10:45 GMT
The <modified> catches all files which were already selected my 
storing their MD5-hash (other algorithms could be plugged in).
So that could help if you change the timestamp locally.

It does not help if your upload breaks.

Jan
   

>-----Urspr√ľngliche Nachricht-----
>Von: JWM [mailto:techstuff@malcolms.com] 
>Gesendet: Mittwoch, 20. Dezember 2006 17:05
>An: 'Ant Users List'
>Betreff: FTP "Depends" option for size as well as date?
>
>I use the FTP task extensively with the 'depends' option to 
>keep all of the files on my server in sync with my local copy. 
> The problem is that I tranfer many huge files (audio/video) 
>and periodically, an FTP will die in the middle of a transfer.  
>
>The problem is that even if only two bytes of 100M file got 
>transferred, the target file gets the current date.  The next 
>time I do a transfer, that file is 'current', at least 
>according to the date, and will never be re-uploaded.
>
>Is there any type of ftp ant task that will also compare sizes 
>of the file as well as time/date stamp to determine if the 
>file needs to be transferred?
>
>
>---------------------------------------------------------------------
>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