#79 sftp does not select specified files

open
nobody
5
2009-04-06
2009-04-06
Nick Tucker
No

Using version 0.2.9 I was unable to get specufied files from a directory using sftp. I could get all the files in the directory using a *.* selector.

Sftp task used:-
<sftp action="get" remotedir="test" verbose="true">
<fileset dir="c:/temp">
<include name="Test*.*"/>
</fileset>
</sftp>

I have attached a patch the change I made to the source to solve the problem.
This patch did not work with subdirectories in the included name (e.g. <include name="subdir/Test*.*"/>)

Discussion

  • Nick Tucker
    Nick Tucker
    2009-04-06

    Patch for sftp file selections

     
    Attachments