Returning Contents of Remote Virtual Directory

Discussion in 'ASP .Net' started by dr.remulak@gmail.com, Jun 21, 2006.

  1. Guest

    How can I return a list of the directory names in a virtual directory?


    For example: If you open the directory below in your browser, I would
    like to return an array to my ASP.Net app with all of the directory
    names found (batters/, gid_2006_06_20_anamlb_sfnmlb_1/, etc.).

    http://gd2.mlb.com/components/game/mlb/year_2006/month_06/day_20/

    Thanks.
     
    , Jun 21, 2006
    #1
    1. Advertising

  2. > For example: If you open the directory below in your browser, I would
    > like to return an array to my ASP.Net app with all of the directory
    > names found (batters/, gid_2006_06_20_anamlb_sfnmlb_1/, etc.).
    >
    > http://gd2.mlb.com/components/game/mlb/year_2006/month_06/day_20/


    The example you gave looks well formed. Maybe you could parse it as XML
    against a custom stylesheet that will strip out the hyperlinks within <li>
    elements and then you could bind the resulting XML file in your code.
     
    =?Utf-8?B?TGVvbiBNYXluZQ==?=, Jun 22, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?cmZvbnRhaW5l?=

    logon failure to a remote share with a virtual directory

    =?Utf-8?B?cmZvbnRhaW5l?=, Sep 30, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    2,779
    =?Utf-8?B?cmZvbnRhaW5l?=
    Sep 30, 2004
  2. =?Utf-8?B?UmFr?=
    Replies:
    1
    Views:
    1,862
    Steven Cheng[MSFT]
    May 19, 2006
  3. mike
    Replies:
    2
    Views:
    494
    Roedy Green
    Mar 15, 2008
  4. Coder Coder

    Remote Virtual Directory

    Coder Coder, Nov 10, 2003, in forum: ASP .Net Security
    Replies:
    0
    Views:
    105
    Coder Coder
    Nov 10, 2003
  5. Lamberti Fabrizio

    Using Virtual Directory to remote folder

    Lamberti Fabrizio, Mar 7, 2005, in forum: ASP General
    Replies:
    3
    Views:
    157
    Jeff Cochran
    Mar 7, 2005
Loading...

Share This Page