Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem of Directory content listing

Status
Not open for further replies.

2much

Programmer
Dec 16, 2001
10
TW
I have the same question as NevG's--just want to display the content of a specific directory , but it still now work after following the steps provided by IonelBurtan. The browser just hang there without any response. Here is my code, and could you tell my is there anything I miss ? Or do I have to do some settings on my iis server?

Thanks a lot!

Test.asp

<html>
<body>
<%
Dim fso, f, f1, fc, s
Set fso = Server.CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set f = fso.GetFolder(&quot;C:\tmp&quot;)
Set fc = f.Files
For Each f1 in fc
s = s & f1.name
s = s & &quot;<BR>&quot;
Next
Response.Write s
%>
</body>
</html>
 
Yes, I do..

It's some problem of Norton Anti-Virus. Thanks anyways!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top