Re: XForms: Filedirectory in browser

Steve Lamont (spl@szechuan.ucsd.edu)
Mon, 29 Sep 97 06:28:43 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> You can also use fl_get_dirlist. The advantage is that it is file-system
> independent and the list is sorted. This is part of the file selector
> goodie (section 6.4 in the manual).

This is okay if you just want to sort by name in some manner.
However, the original posting said that sort by other keys, such as by
size, was desired, so stat() or lstat() would be required. Of course,
you can, indeed, use fl_get_dirlist() to fish up the contents of the
directory entry.

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/