Atsuhiko Yamanaka wrote:

Hi,

2006/5/10, Kev Jackson <[EMAIL PROTECTED]>:

Damnit!

"selectors are not supported on remote filesets"

Basically that's what I need, the ability to select the files based on
the last modified - I don't want to pull back files if they are not
within the search criteria :(


By following task, I can get only newer files matched with "*.log" on
the remote 'home/weblogic/logs' and save to ${basedir}.

<sftp action="get"
        trust="true"
        server="${host}"
        userid="${user}"
        password="${password}"
        depends="yes"
        remotedir="/home/weblogic/logs">
  <fileset dir="${basedir}" >
    <include name="*.log"/>
 </fileset>
</sftp>

# Please note that 'depends="yes"'.

Does it not work on your environment or is it enougth?

By itself this works fine, the problem is that i need

<fileset dir="${basedir}">
 <date datetime="2006-05-10" when="after" pattern="YYYY-MM-DD"/>
</fileset>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to