Another useful feature of JFTP is the ability to filter remote files when performing various tasks. You can filter remote files based on their name pattern and/or by their modification date. The filter will be honored by all remote file tasks such as browsing, uploading, deleting and viewing properties.
To set up a filter on the remote files, do any one of the following:
Remote File -> Apply Filter...
menu
item from the menu bar
Apply
Filter...
from the context menu
When you do any of the above actions, a new dialog titled
Filter Remote Files
will be displayed.
Regular Expression
The name filter allows you to specify a filter based on the
file names or name patterns. You can specify any valid regular
expression as your filter criteria.
Below are a few commonly used regular expressions:
.*\.html
matches all files with extension html.
n.*
matches all files that start with letter 'n'.
.*\.html|.*\.jsp
matches all files with
extensions html and jsp.
index.html
matches all files whose name is index.html.
Case Sensitive
Checking this check box does a case sensitive pattern
matching. This means that the regular expression
.*\.html
will match index.html but not INDEX.HTML.
The date filter allows you to see only those files whose modification date is in a given date range.
Start
Start date for this filter.
End
End date for this filter.
If you
want to set up a filter that allows only files modified after a
specific date, just specify the
Start
date and leave the
End
date blank. Similarly, to allow files that were modified before a
specific date, leave the
Start
date blank and specify the
End
date.
Apply
Clicking this button will validate your filter criteria and
sets up a filter. At this point, all FTP and remote file tasks that
you perform will honor the filter.
Cancel
Clicking this button discards any changes you have made to
the filter criteria and closes the
Filter Remote Files
dialog.
Help
Click this button to display this help topic.