Erik Ginnerskov wrote:
> Markus Flach wrote:
>> i wanna have a frame on my page and in that frame is just the folder
>> struktur from a server from our olcal network.
>> how can i do that?
>
> If your server alowes directory listing, just link to the directory
> and make sure there is no default [1] web page in that folder.
>
> If your server doesn't alowe so, you cann't do anything.
Correction, stupid me.
Place an asp-file with the following body content in the catalog:
<% session.LCID = 1030 %>
<%
dim strPathInfo, strPhysicalPath
strPathInfo = Request.ServerVariables("PATH_INFO")
strStiInfo = Request.ServerVariables("server_name")
strPhysicalPath = Server.MapPath(strPathInfo)
Dim objFSO, objFile, objFileItem
Set objFSO = CreateObject("Scripting.FileSystemObject")
set objFile = objFSO.GetFile(strPhysicalPath)
set objFolder = objFile.ParentFolder
set objFolderContents = objFolder.Files
%>
<h1>
<%
streng= Request.ServerVariables("PATH_INFO")
sidsteslash = InStrRev(streng, "/")
stien = Left(streng, sidsteslash)
Response.write Request.Servervariables("Server_Name") & stien
%>
--
Yours
Erik Ginnerskov
http://hjemmesideskolen.dk -
http://html-faq.dk
http://hjem.get2net.dk/egin