ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: FTP "Depends" option for size as well as date?
Date Thu, 21 Dec 2006 10:15:11 GMT
JWM wrote:
> I lost you.  Are you saying that if I change the timestamp locally, it will
> re-upload?  I don't understand where the hash comes into play.  If I change
> the date, it's going to upload anyway.  Does <modified> somehow compare MD5
> hash of the file on the server to the MD5 hash of the file locally?  If that
> is the case and the upload breaks, shouldn't it catch it as a non-equal hash
> the next time I run the ant script?
> 
> The problem is that it takes up to 6 hours to upload everything for a single
> project.  I only want to upload what needs to be uploaded.  I could do a
> "touch" of all the files locally and force upload of everything to guarantee
> that all the files are valid.  But re-uploading 6 hours each time is just
> not practical when perhaps 95% of the files are still good.
> 
> I'm a java programmer.  I'm willing to modify the ftp task to meet my needs
> if it's not a huge task.  I just don't have the bandwidth to dive into a
> major undertaking, though.  How easy would it be to modify the ftp task
> source?

what kind of server are you talking to. Can you use rsync instead? Its 
the primary way we push up content

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


Mime
View raw message