i get it...but still..the MapPath maps it to the right folder...it might be
something related to user access i guess...


On Fri, Nov 7, 2008 at 9:36 AM, Glenn <[EMAIL PROTECTED]> wrote:

> Probably because it is looking for the "./files" folder based on the
> location where it is running, which is going to be the directory where the
> IIS executables are (If this is running server-side).  In order to insure
> that you get the correct location, you're going to have to specify the URL.
>
> ...Glenn
>
> On Thu, Nov 6, 2008 at 11:03 AM, Mauro Marchiori Neto <[EMAIL PROTECTED]
> > wrote:
>
>> I tried the search with no luck..
>>
>> I have a site set in IIS with a virtual directory called 'files' which
>> refers to a network share on another computer, which is the file server in
>> my network.
>>
>> Then i have an ASP file which lists the folders and files from a given
>> path, the problem is, if i access http://localhost/files/ it shows up the
>> files on the other computer, but if i use
>>
>> Set F = FSO.GetFolder(Server.Mappath(folderspec)
>>
>> where 'folderspec' is something like './files/foldername/'
>>
>> it SHOULD list the files within that folder..but it says the path does not
>> exist...what can i do? what could be another approach to list files on a
>> folder on another computer?
>>
>> Atenciosamente
>> --
>> Mauro Marchiori Neto
>> email: [EMAIL PROTECTED]
>> cel: 19 9129.9960
>> cel: 19 7806.9676
>> id: 80*15224
>>
>

Reply via email to