ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47860] ftp task to provide feedback on succeeded/failed transfers
Date Mon, 21 Sep 2009 09:09:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47860

--- Comment #3 from Mario Frasca <mfrasca@zonnet.nl> 2009-09-21 02:09:02 PDT ---
actually better separate file names with a ','
then one can use FileList
(http://ant.apache.org/manual/CoreTypes/filelist.html)

a sample usage:
  <ftp server="${server}" userid="${user}" password="${pass}"
       transferredItemsProperty="transferredfiles"
       action="put" skipFailedTransfers="true"
       remotedir="/test-ftp">
    <fileset dir="./">
      <include name="?"/>
    </fileset>
  </ftp>

  <echo>successfully sent: (${transferredfiles})</echo>

  <delete>
    <filelist dir="./" files="${transferredfiles}"/>
  </delete>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message