ftpd::Session method file glob (protected)
<instance of ftpd::Session> file glob pattern
Some clients send a "-a" or a "-l", Skip it.
- Parameters:
- pattern (required)
- Testcases:
- No testcase defined.
Source code: regexp {^-[al]\s*(.*)$} $pattern . pattern if {$pattern eq ""} { set pattern "*" } return [lsort [glob -directory ${:currentdir}/ -nocomplain -- $pattern]]XQL Not present: Generic, PostgreSQL, Oracle