|
|
|
|
|
| | |
|
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
directory contents |
From: |
Aidan |
Date: |
3/25/1999 10:36:40 AM |
IP: |
194.125.69.146 |
Hi,
I have tried to use the "Show Directory Contents Using ASP" sample from this site but I'm having some problems:
The code is as follows:
<%
Set MyDirectory=Server.CreateObject("Scripting.FileSystemObject")
Set MyFiles=MyDirectory.GetFolder("AspPurchase")
for each filefound in MyFiles.files
%>
<%filefound.Name%>
<br>
<%
Next
%>
Unfortunately I get a "Object doesn't support this property or method: 'MyDirectory.GetFolder' "
error message.
Could someone tell me what I am doing wrong. Also for future reference could someone tell me where to find out about objects like Server and Scripting.FileSystemObject.
Many thanks
Aidan
|
Follow Up - Re: directory contents - Tammi Kennedy 4/19/1999 5:09:46 PM
|
|
|
|
|
|
|
|
|
|
|
|