CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    1

    How to Access files in a folder using URL in Classic ASP

    Hi,

    I want to retrieve all the files from a folder using URL and display it in combo box. I am not supposed to use Shared path for this.

    For example:

    I have to get list of files in shared folder using path like this http://www.abc.com/shared_files/myfiles

    and not supposed to use \\servername\shared_files\files.

    I need to implement this logic using Classic ASP.

    Can someone please help me how to implement this logic.

    Please revert back to me if i am not clear.

    Thanks in advance


    Ram

  2. #2
    Join Date
    Jan 2004
    Location
    Noida,India
    Posts
    96

    Wink Re: How to Access files in a folder using URL in Classic ASP

    Quote Originally Posted by rammohanch
    Hi,

    I want to retrieve all the files from a folder using URL and display it in combo box. I am not supposed to use Shared path for this.

    For example:

    I have to get list of files in shared folder using path like this http://www.abc.com/shared_files/myfiles

    and not supposed to use \\servername\shared_files\files.

    I need to implement this logic using Classic ASP.

    Can someone please help me how to implement this logic.

    Please revert back to me if i am not clear.

    Thanks in advance


    Ram
    hi ram ,

    i think if you are coding in the same website say abc.com and need to get the files list from a folder in the same site its always better to use the server.mappath kind of things instead of using the http path.

    btw i can't understand the need may be i can help you if you clear the need of doing the same.
    A small First step is the begining of any giant leap

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured