Uploading images - any specific permissions required

Discussion in 'Site Programming, Development and Design' started by RichWhitfield, Jun 28, 2011.

  1. Hi,

    I am have an mvc app in which I am attempting to upload images. Are there any specific permissions required on the folder that I am trying to upload the image to? Currently they are not being uploaded :(

    Cheers

    Rich
     
  2. You should not have any permission issues assuming you are writing to your own web space. What is the error message you are getting? Post the code.
     
  3. You should run your application in Full Trust.
    Add the following configuration under the <system.web> Configuration Section

     
  4. Same issue, I have Full trust in my Web Config... but doesn't work.

    Was this resolved?
     
  5. I had the same issue and ended up setting this up in IIS instead.
     
  6. deepak11627

    deepak11627 Guest

    yes permission required

    hi,
    Yes you need write permission to upload images to a directy.
    Try CHMOD 777 if you have permission related problems.

    Thanks
    CoreIT Developers
     
  7. CHMOD is a UNIX permissions command and doesn't do anything on a Windows server.

    Your FTP program may try to execute a CHMOD and not throw an error (leading you to believe the operation was successful), but it will not change directory permissions.
     

Share This Page