problem with asp upload

Discussion in 'Classic ASP' started by malbar99, Feb 13, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. hi,
    I have a problem with asp upload

    1- The code taken from this (Persits ASPUpload Sample Code) at URL http://kb.discountasp.net/article.aspx?id=10058

    2- my test page is in this
    URL http://araburbanne.web124.discountasp.net/araburban/upload.htm

    The code for the asp page is
    <%
    Set Upload = Server.CreateObject('Persits.Upload')
    count = upload.savevirtual ('/aspupload')
    Response.Write Count & ' file(s) uploaded'
    %>

    3- I got this error code
    Persits.Upload.1 error '800a003d'

    Wrong Content-Type. Make sure you have included the attribute ENCTYPE='multipart/form-data' in your form.

    /araburban/aspupload1.asp, line 6 </font>

    any super hero can help me here
     
  2. This is the error I'm getting when I try your test page...


    Persits.Upload.1 error '800a0005'


    The system cannot find the path specified.


    /araburban/aspupload1.asp, line 5

    Did you create the "/aspupload" directory?


    Joel Thoms

    DiscountASP.NET
    http://www.DiscountASP.NET
     
  3. [​IMG]</o:p>
    Ok,
    I searched over the internet...
    http://www.aspupload.com/faq.html</o:p>

    Then I found the solution.
    The problem was the permission.
    I give "write" permission to anonymous user.
    It is working fine now!</o:p>
    </o:p>
    But still not sure if this is the Right solution.</o:p>
    Still want to control the type of files that user can upload to my site.</o:p>
    </o:p>
    Hope this will help!</o:p>
    </o:p>
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    I don't think aspupload can control the filetype out of the box. You may be able to add some additional logic to handle this.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. I saw this working answer no where else so apologies if anyone has posted it already
    The 'Persits.Upload.1 error '800a0005' The system cannot find the file specified' problem on DiscountASP can be resolved by logging in to your DiscountASP account - click Permission Manager - find Anonymous User (IUSR) in the Active Users - if you see that usage is greater than quota then click Edit and make quota the greater figure - alternately delete any files uploaded by your site visitors that are no longer required. Voila.
    If this answer has not been posted then suggest DiscountASP put it in their FAQs!
     
  6. THANKS itsme

    That is fantastic information and just saved my hours of googling!!!

    The QUOTA on IUSR is 100MB. All cool until you upload your 101th mb then boom ERRORS!!!!

    Hopefully searching google folks will see Your post.

    Persits.Upload.1 "The system cannot find the file specified."
    Persits.Upload.1 permissions
    Persits.Upload.1 IUSR asp
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page