How to find a directory in ASP.NET
<p>I'm working on an Intranet web application on a server somewhere, and I wish that application to generate files so I can download them to my local PC.</p>

<p>I connect to this application using a URL in the browser like this...</p>

<p><a href="http://myapp.ourplace.com" rel="nofollow">http://myapp.ourplace.com</a></p>

<p>and I can get to the software using an ftp connection...</p>

<p><a href="ftp://myapp.ourplace.com" rel="nofollow">ftp://myapp.ourplace.com</a></p>

<p>where I can see a directory structure like this...</p>

<pre><code>myapp.ourplace.com
    aspnet_client
    bin
    files
    images
    UserControls
    default.aspx
    myapp.bin
    .
    .
    .
</code></pre>

<p>I need to know how the C# application can locate the directory <code>files</code> in the above structure in order to write files into it. I've tried <code>Environment.CurrentDirectory() + "\\files"</code> but that doesn't appear to be the same place; no files appear in it at any rate.</p>

<p>Does anyone know how to do this?</p>
