IIS Server - file upload write permissions

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > July 2004 > file upload write permissions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author file upload write permissions
KevinC

2004-07-30, 7:52 am

Hi.

I am using IIS 5.0 on W2K Prof as a standalone testbed for a clients site.

The script i am using is (http://www.freeaspupload.net). however I cannot
get it to run the test it keeps returning the following error.


Folder H:\Current work\Mailer Test\Uploads does not have write permissions.
The value of your uploadsDirVar is incorrect.
Open uploadTester.asp in an editor and change the value of uploadsDirVar to
the pathname of a directory with write permissions.

I have changed the permissions in the above folder to include read & write
using IIS administrator. but still get the same result.

Will uploads work on WK2 prof or or is this one of the limitations on IIS
working on Professional rather than a server.

Thanks


Ken Schaefer

2004-07-30, 5:51 pm

The "Write" permission in IIS Manager is for WebDAV authoring *not* ASP
pages using some File System Object or ADO Stream object to write files.

What I think you need to do is use Explorer to change the NTFS permissions
for the folder in question so that the IUSR_<machinename> account (or
whatever account IIS is impersonating) has NTFS Write permissions to the
folder in question.

Cheers
Ken

"KevinC" <Kclayton_rem@ve_ntlworld.com> wrote in message
news:HitOc.390$Kh6.106@newsfe4-gui.ntli.net...
> Hi.
>
> I am using IIS 5.0 on W2K Prof as a standalone testbed for a clients site.
>
> The script i am using is (http://www.freeaspupload.net). however I cannot
> get it to run the test it keeps returning the following error.
>
>
> Folder H:\Current work\Mailer Test\Uploads does not have write

permissions.
> The value of your uploadsDirVar is incorrect.
> Open uploadTester.asp in an editor and change the value of uploadsDirVar

to
> the pathname of a directory with write permissions.
>
> I have changed the permissions in the above folder to include read & write
> using IIS administrator. but still get the same result.
>
> Will uploads work on WK2 prof or or is this one of the limitations on IIS
> working on Professional rather than a server.
>
> Thanks
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com