« Previous Next »

Thread: Upload and Download files

Last post 05-22-2008 5:58 AM by steve schofield. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 05-22-2008, 4:46 AM

    Upload and Download files

    Hey everyone,

    I've set up a IIS website on my network, with this website i want to up- and dowload files.
    i'm using an asp.net(c#) site, how should I do this, so that the whole network can upload and download

     thanks Already

  • 05-22-2008, 5:58 AM In reply to

    Re: Upload and Download files

    Generally you need to grant the IUSR or Application Pool permissions to 'write' on your web server to upload files.  The upload.aspx or whatever it's called could reside most any place.  It could write to a folder called downloads.  

    Assuming this is a anonymous based site, you could turn on directory browsing and people could gain access to download files.  Or have the default document in the downloads folder write out a file listing.  Here are a couple articles using the built-in upload component in .NET 2.0

    http://www.codeproject.com/KB/aspnet/FileHandlerPackage.aspx

    http://www.15seconds.com/issue/061116.htm

    My suggestion is pretty generic and there is security needed, you'll need to account for that.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (2 items)
Microsoft Communities