Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

file extension format pdf

Last post 07-04-2012, 7:43 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  07-03-2012, 5:54 AM 74064

    file extension format pdf

    dear, I'm trying your script demo on my server but instead of setting as I set file format jpg pdf, but I all'upoad this error:
     
    Server side exception, failed to upload myfile.pdf


    Debug Information:


    Error parsing content : Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. at function Ox4d 
     
    Why?
    Thanks
    Riccardo
  •  07-03-2012, 7:52 AM 74067 in reply to 74064

    Re: file extension format pdf

    Hi djjunior,
     
    Does it happens with special file(only one)? Or special extension?
     
    Do you get the same problem with the example page below?
     
    <%@ 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>
    example
    </title>
    </head>
    <body>
    <div>
    <form id="form1">
    <%
    Dim uploader
    Set uploader=new AspUploader
    uploader.Name="myuploader"
    uploader.AllowedFileExtensions="pdf"
        %>
        <%=uploader.GetString() %>
    </form>
    </div>
    </body>
    </html>
     
    Can you show me the page code what you are testing too?
     
    If you using property "SaveDirectory", ensure that your site has the write/read permission of the folder you set for this property.
     
    regards,
     
    Ken 
  •  07-03-2012, 8:42 AM 74068 in reply to 74067

    Re: file extension format pdf

    It does not work, in multiple, here is my script
     
                 <%
                Dim uploader
                Set uploader=new AspUploader
                uploader.MaxSizeKB=10240000
                uploader.Name="myuploader"
                uploader.InsertText="Carica le fatture"
                uploader.SaveDirectory="/public/clienti/pdf/" & request.form("periodo") & ""
                uploader.AllowedFileExtensions="pdf"
                uploader.MultipleFilesUpload=true
                %>
                <%=uploader.GetString() %>
  •  07-04-2012, 7:43 AM 74073 in reply to 74068

    Re: file extension format pdf

    1. Does it happens with special file(only one)? Or special extension?
    2. remove the setting below, does it work?
     
    uploader.SaveDirectory="/public/clienti/pdf/" & request.form("periodo") & ""  
     
    3. Can you send me your uploader page url? So we can check it for you. 
     
    Regards,
     
    Ken 
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems