AJAX Uploader Compatibility with Office 2007

Last post 09-10-2010, 2:01 AM by cutechat. 2 replies.
Sort Posts: Previous Next
  •  09-05-2009, 1:38 PM 55390

    AJAX Uploader Compatibility with Office 2007

    Are there known compatibility issues with uploading Office 2007 documents (docx, xlsx, pptx) using the AJAX uploader?  I am getting file corruption with all Office 2007 documents when using the AJAX uploader and wanted to find out if this has been tested and certified by CuteSoft?
     
     
    Update:
    After doing a comparison between my previous upload utility and the AJAX Uploader, it appears that 1 byte is being added to a file; however, this appears to cause a problem with the Office 2007 files. 
     
    Type         Original Size       After AJAX Uploader    After Old Upload
     DOCX      10,223 bytes      10,224 bytes                10,223 bytes
     XLSX        34,666 bytes      34,667 bytes                34,666 bytes
     PPTX        52,395 bytes      52,396 bytes                52,395 bytes
     DOC         26,112 bytes      26,113 bytes                26,112 bytes
     


  •  09-08-2010, 1:02 PM 63897 in reply to 55390

    Re: AJAX Uploader Compatibility with Office 2007

    Dear bvanderwal,
     
    I have used the following code and test this issue:
     <%@ Page Language="C#" %>
     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <script runat="server">
        void InsertMsg(string msg)
        {
            ListBoxEvents.Items.Insert(0, msg);
            ListBoxEvents.SelectedIndex = 0;
        }
        void Uploader_FileUploaded(object sender, UploaderEventArgs args)
        {
             InsertMsg("File uploaded! " + args.FileName + ", " + args.FileSize + " bytes.");

            //Copys the uploaded file to a new location.
            args.CopyTo("e:\\temp\\"+args.FileName);
            //You can also open the uploaded file's data stream.
            //System.IO.Stream data = args.OpenStream();
        }
    </script>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>Selecting multiple files for upload</title>
        <link rel="stylesheet" href="demo.css" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">
            <div class="content">
                <h2>
                    Selecting multiple files for upload</h2>
                <p>
                    Select multiple files in the file browser dialog then upload them at once</p>
                <CuteWebUI:Uploader runat="server" ID="Uploader1" InsertText="Upload Multiple Files (Max 10M)"
                    MultipleFilesUpload="true" OnFileUploaded="Uploader_FileUploaded">
                    <ValidateOption MaxSizeKB="1033333240" />
                </CuteWebUI:Uploader>
                <br />
                <br />
                <div>
                    Server Trace:
                    <br />
                    <asp:ListBox runat="server" ID="ListBoxEvents" Width="400"></asp:ListBox>
                </div>
            </div>
        </form>
    </body>
    </html>

    All uploaded files will not be changed, the size keep same. I advise you upgrade to latest version and check it again. The download url of latest version is:
     
    Thanks for asking
     
  •  09-10-2010, 2:01 AM 63917 in reply to 55390

    Re: AJAX Uploader Compatibility with Office 2007

    Hi,
     
    can you reproduce this issue at our online demo ?
     
     
     
     
    I have tested docx files and can't reproduct it.
     
    Regards,
    Terry
View as RSS news feed in XML