File Genie ASP Support Product Page

This topic was archived

File Genie reads the wrong Folder

Reported 26 Jul 2009 20:32:10
1
has this problem
26 Jul 2009 20:32:10 Howard Walker Walker posted:
I have set up a page to read the files in its own folder.
which is C:\Inetpub\wwwroot\sitename\upload\uploads.
The files that it comes up with are stored in C:\Inetpub\wwwroot. and are as follows:
help.gif, iisstart.asp, localstart.asp,mmc.gif, pagerror.gif, print.gif, Thumbs.db,timetest.php,warning.gif and web.gif. Some of these files will exist in that directory on most winXP systems.
How do I tell file genie where the correct folder is - I have browsed to it as the instructions say, and it enters a pair of inverted commas "" in the path field, which I would have thought is correct.
This is the code for the folder list:
<%
' *** Folder List 1.0.6
Dim Photos
Set Photos = New FolderList
With Photos
.Path = ""
.allowedExtensions = ""
.includeFolders = false
.ShowThumbnailsOnly = false
.ThumbnailsSuffix = "_small"
.officeAttributes = false
.ReadFolder()
End With
%>
Should the folder be from the root, or should it be relative to the page?

Replies

Replied 27 Jul 2009 14:04:01
27 Jul 2009 14:04:01 Miroslav Zografski replied:
Hello Howard,

The folder path should be relative if your site definition is set such way (it is default setting in DW so I guess it is relative) So it must be relative to the page. Having only "" means that the folder in which page is located should be the folder that File Genie to review.

However, if your site definition is set to be relative with site root than the folder path should be "/upload/uploads".
Try setting up the path as site root relative.

Regards,

Reply to this topic