lsif ( $ENV{'ISTXT'} == 1 {
$display = qx (/bin/ls -1 $ENV{'WEBROOT'}$ENV{'UNIXPATH'} | grep .txt);
} else {
$display = qx (/bin/ls -1 $ENV{'WEBROOT'}$ENV{'UNIXPATH'});
}
print $display;
-Original Message-----
From: Jonah Simpson [mailto:[
is using to parse out his file.
Hope this helps!
Cheers,
Jonah Simpson
- Original Message -
From: "Wayne Irvine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 19, 2004 12:27 AM
Subject: Re: Witango-Talk: List of files in a folder
>
> > I
> I need to list any files in a particular folder and assign the list to an
> array.
>
> Is there a way of doing this in Tango 2000 on a Mac running OS 9?
Here's how I did it:
First, I set up the webserver to give a directory index, then I use the @URL
tag to load the HTTP into a VAR.
<@ASSI
I can send you a copy of a T2000 setup for Windows to do this, if that
would help. I can't translate to Mac, though.
> -Original Message-
> From: Wayne Irvine [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 16, 2004 1:24 AM
> To: [EMAIL PROTECTED]
> Subject: Re: W
> There is an example (by Fergal) on the component zone
> on witango.com
Cheers, I'll check it out.
I'm currently working on a TAF that loads the index.dir result into a VAR
and then parses it. Should be fun.
Wayne
Byte Services Pty Ltd
http://www.byteserve.com.
There is an example (by Fergal) on the component zone
on witango.com on how to do this on Windows and with
witango 5...it may point you in the right direction.
It works well for me - to get it to work on Mac and
T2k I think you'll just need to swap request scope for
local, replace the bat files wi