Re: What IIS settings are required to allow file upload? I keep getting 401 error
From: Jeff Cochran (jcochran.nospam_at_naplesgov.com)
Date: 04/30/03
- Next message: Alun Jones: "Re: FTP Server on Win XP Pro"
- Previous message: Dror H: "post variables empty"
- In reply to: Horus Alkebulan: "Re: What IIS settings are required to allow file upload? I keep getting 401 error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 30 Apr 2003 14:53:45 GMT
On Wed, 30 Apr 2003 09:31:54 -0400, "Horus Alkebulan"
<halkebulan@adelphia.net> wrote:
>Thanks. How far down the path do I have to set permissions?
Just the folder you're uploading to.
>The web site upload folder path is
>c:\inetpub\wwwroot\IDSM_WebService\uploads. I have Allow Modify permissions
>on this (i.e. \uploads) folder for "Users".
Here's likely your issue. The group "Users" doesn't include the
anonymous web account, the IUSR account. If your users are
authenticating to the system, their authenticated accounts are used,
otherwise it's the IUSR/IWAM accounts that come into play. set
appropriate rights for the appropriate accounts.
Jeff
>The root of the website is http://localhost/IDSM_WebService/. The files are
>being posted to http://localhost/IDSM_WebService/Uploads/.
>
>In the virtual directory settings of the "Uploads" folder, I have "Write"
>checked. I have Integrated Authentication checked and Anonymous unchecked.
>
>Not sure what else to do.
>
>Thanks!
>
>"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
>news:uSFA23sDDHA.2824@TK2MSFTNGP11.phx.gbl...
>> You are doing a HTTP PUT. So, the Write Permission in IIS must be
>allowed,
>> and you need to make sure the user credentials making the PUT request has
>> Modify/Write NT ACLs on the physical directory that you are writing to.
>>
>> --
>> //David
>> This posting is provided "AS IS" with no warranties, and confers no
>rights.
>> //
>> "Horus Alkebulan" <halkebulan@adelphia.net> wrote in message
>> news:Op%23gRGlDDHA.2384@TK2MSFTNGP12.phx.gbl...
>> How do I set directory and file permissions to allow file upload?
>>
>> I have a web service that accepts a byte stream from a .NET windows client
>> and everytime the UploadFile method I get 401 Unauthorized error from IIS
>> 5.1.
>>
>> Running on development platform where all on XP Pro, no domain controller.
>>
>> When I call this code from my windows forms client
>
- Next message: Alun Jones: "Re: FTP Server on Win XP Pro"
- Previous message: Dror H: "post variables empty"
- In reply to: Horus Alkebulan: "Re: What IIS settings are required to allow file upload? I keep getting 401 error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|