Accessing folders outside of ASP.Net website

Discussion in 'ASP .Net' started by bdtmike, Mar 18, 2006.

  1. bdtmike

    bdtmike Guest

    This is a dumb newbie questions:
    I have an asp.net 2.0 website that needs to access a folder out on
    another server. It needs to look at this folder and process files
    which are uploaded by another program. What is the proper way to doing
    this? Is it a virtual folder that I need?

    Thanks in advance

    -Mike
    bdtmike, Mar 18, 2006
    #1
    1. Advertising

  2. Hi,

    bdtmike wrote:
    > This is a dumb newbie questions:
    > I have an asp.net 2.0 website that needs to access a folder out on
    > another server. It needs to look at this folder and process files
    > which are uploaded by another program. What is the proper way to doing
    > this? Is it a virtual folder that I need?
    >
    > Thanks in advance
    >
    > -Mike


    Using the System.IO classes, you can access the file system, including
    the network, but the ASPNET user must have the corresponding permissions.

    HTH,
    Laurent
    --
    Laurent Bugnion, GalaSoft
    Software engineering: http://www.galasoft-LB.ch
    Private/Malaysia: http://mypage.bluewin.ch/lbugnion
    Support children in Calcutta: http://www.calcutta-espoir.ch
    Laurent Bugnion, Mar 18, 2006
    #2
    1. Advertising

  3. bdtmike

    bdtmike Guest

    Thanks, Laurent. Works great!
    bdtmike, Mar 19, 2006
    #3
    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. falshaye
    Replies:
    1
    Views:
    315
    falshaye
    Feb 14, 2008
  2. Phoe6
    Replies:
    0
    Views:
    259
    Phoe6
    Dec 6, 2008
  3. ton
    Replies:
    4
    Views:
    1,003
  4. Replies:
    1
    Views:
    97
    Omega
    Jun 7, 2005
  5. Krzysztof Poc

    outside type, outside function

    Krzysztof Poc, Feb 3, 2012, in forum: C++
    Replies:
    1
    Views:
    275
    Victor Bazarov
    Feb 7, 2012
Loading...

Share This Page