| View previous topic :: View next topic |
| Author |
Message |
rix Halfop
Joined: 21 Sep 2005 Posts: 42 Location: Estonia
|
Posted: Mon Jan 21, 2008 4:09 pm Post subject: script to list the contents of a directory |
|
|
Hey!
I've been searching around the web couple days and haven't found exactly what i'm looking for, even not from this forum.
The script im looking for should display files in a specified directory. Like when saying !ftplist in channel, the bot replies something like this:
<rix> !ftplist
<Bot> videofile.avi
<Bot> text_document.txt
<Bot> file.ext
Of course it would be nice to be able to sort the result by date modified.
Any help is appreciated!  |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Mon Jan 21, 2008 4:20 pm Post subject: |
|
|
there are several scripts such as this in the tcl archives. Use the keyword filesys, & get the script dcc send/receives by nXistence. Give that a try  _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
|