You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Nordmeyer <th...@web.de> on 2009/12/02 14:11:29 UTC

Ho Do I ftp put files only if the don't exist at target

Hi,
I would like to update a ftp remote site with files that exist locally
ignoring files that already exist at the remote site - only comparing by
file name.

I Found this posting
   http://old.nabble.com/forum/ViewPost.jtp?post=811530&framed=y
http://old.nabble.com/forum/ViewPost.jtp?post=811530&framed=y 
describing exactly my problem.
There are suggestions using present selector or available task but I don't
know to use this exactly. 

Can anybody paste an working example?

CU,
 Thomas
-- 
View this message in context: http://old.nabble.com/Ho-Do-I-ftp-put-files-only-if-the-don%27t-exist-at-target-tp26608607p26608607.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Re: Ho Do I ftp put files only if the don't exist at target

Posted by Mark Salter <ma...@talktalk.net>.
Nordmeyer wrote:
> With ANT?
> How?

http://ant.apache.org/manual/CoreTasks/sync.html

might be just what you are after.

The top level for the 'fm' is http://ant.apache.org/manual/ , one for
your bookmarks perhaps.

Regards,

-- 
Mark

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


Re: Ho Do I ftp put files only if the don't exist at target

Posted by Nordmeyer <th...@web.de>.
With ANT?
How?
-- 
View this message in context: http://old.nabble.com/Ho-Do-I-ftp-put-files-only-if-the-don%27t-exist-at-target-tp26608607p26621717.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Re: Ho Do I ftp put files only if the don't exist at target

Posted by Robert Anderson <ri...@gmail.com>.
Try rsync.

On Wed, Dec 2, 2009 at 5:11 AM, Nordmeyer <th...@web.de> wrote:

>
> Hi,
> I would like to update a ftp remote site with files that exist locally
> ignoring files that already exist at the remote site - only comparing by
> file name.
>
> I Found this posting
>   http://old.nabble.com/forum/ViewPost.jtp?post=811530&framed=y
> http://old.nabble.com/forum/ViewPost.jtp?post=811530&framed=y
> describing exactly my problem.
> There are suggestions using present selector or available task but I don't
> know to use this exactly.
>
> Can anybody paste an working example?
>
> CU,
>  Thomas
> --
> View this message in context:
> http://old.nabble.com/Ho-Do-I-ftp-put-files-only-if-the-don%27t-exist-at-target-tp26608607p26608607.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>