Hello frnds,
I m facing a problem while uploading file to my server. i have created one page to my local iis server n tried to upload some picture to specified directory, thats working fine but when i m uploading these code along with folder to my server i am getting problem like not have permission n all such type. if any one can help please do . i m new in this.

Thanks i advance.


check that the internet user account on the server has permission to write to the directory in question.
On a Window Server the user account that need permissions set is called "IUSR_" follwed by the machine name.

Right click the dir -> Sharing and security -> "Security" tab -> "Add" button.
Locate the user account and check the "Modify" rights attribute.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.