permission denied error

Last post 01-18-2012, 6:49 AM by sruthi123. 3 replies.
Sort Posts: Previous Next
  •  01-18-2012, 4:31 AM 72730

    permission denied error


    hi,
     
           when iam trying use the following code iam getting th permisssion denied error.can you please suggest
     
    <%@ Language="VBScript" %>

    <!-- #include file="aspuploader/include_aspuploader.asp" -->

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <title>

    Form - Single File Upload

    </title>

    </head>

    <body>

    <div class="demo">

     

    <h2>Single File Upload</h2>

    <p> A basic sample demonstrating the use of the Upload control.</p>

     

    <!-- do not need enctype="multipart/form-data" -->

    <form id="form1" method="POST">

    <%

    Dim uploader

    Set uploader=new AspUploader

    uploader.MaxSizeKB=10240

    uploader.Name="myuploader"

    uploader.InsertText="Upload File (Max 10M)"

    uploader.MultipleFilesUpload=true

    %>

    <%=uploader.GetString() %>

    </form>

     

    <br/><br/>

     

    <%

    If Request.Form("myuploader")&""<>"" Then

    Dim mvcfile

    Set mvcfile=uploader.GetUploadedFile(Request.Form("myuploader"))

    mvcfile.CopyTo("C:\inetpub\wwwroot\aspuploader\photos\"+mvcfile.FileName)

    End If

    %>

     

    </div>

    </body>

    </html>

  •  01-18-2012, 6:41 AM 72735 in reply to 72730

    Re: permission denied error

    Hi sruthi123,
     
    Can you show me the full error message?
     
    Is your site online? If so, can you send me the uploader page url? So we can check it for you.
     
    Regards,
     
    Ken
  •  01-18-2012, 6:48 AM 72736 in reply to 72735

    Re: permission denied error

  •  01-18-2012, 6:49 AM 72737 in reply to 72735

    Re: permission denied error

View as RSS news feed in XML