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

problem uploading over 220 files with long names and a total size of about 300 mb

Last post 12-30-2008, 8:27 PM by cutechat. 11 replies.
Sort Posts: Previous Next
  •  12-09-2008, 9:00 AM 46679

    problem uploading over 220 files with long names and a total size of about 300 mb

    Hello,
    I am using ajaxuploader and there is a problem when i try to upload over 220 files with long names(about 60 to 70 bytes each) and the total size of those files combined is about 300 MB).
    If I upload 900 files (with long names) and a small size (1kbyte each) there is not any problem
    If I upload one file with a 500MB size there is not problem either
    In ther server trace message box I get. (File uploaded! undefined 0 bytes)
    Could you please let me know what the problem might be
    ************************************************************************
    EDIT: Actually when i select 900 txt files it work but the message in the server trace says uploaded 138 files /138
    It doesn't seems that the upload module is taking more than 138 file names to upload, and for one reason or another it just doesn't do anything when the files are /pdf or /doc which are about 1MB each
    *************************************************************************
     Was able to uplaod 241 pdf file of 1.1MB size each at 250 file I get undefined in the list of files to upload.
    ********************************************************************************
     
     
    Thanks
  •  12-09-2008, 12:22 PM 46699 in reply to 46679

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    wassimsa,
     
    We cannot reproduce this issue when we try to upload 6000 files and the total size of those files combined are about 300 MB.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-09-2008, 12:39 PM 46703 in reply to 46699

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Try this

    create a text file with few bytes in it and give it this name

    2682_E_test_0807-01_L_bidr_betterplan.txt
    then copy this file in windows and paste
    the file name will be
    2682_E_test_0807-01_L_bidr_betterplan-copy.txt
    then copy those two files and paste
    file name will append copy to the file name
     
    this way you will have longer file name
    create only 300 to 400 files (each time you paste ,select all files again and paste it will take you less than a minute)
    attempt an upload for those files and se if it works
     
    i think the problem
    has to do with the length of the file names
    there seems to be a predefined buffer size for ajax uploader control  
    if the sum of bytes of the selected file name is bigger than that buffer size it fails
     
    Let me know
  •  12-09-2008, 9:49 PM 46712 in reply to 46679

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Hi,
     
    I can reproduce this issue.
    I think that problem relative to the file browsing dialog.
     
    For example, if I use CTRL+A to select all 1000 files, but the client side only get 315 items. and the last item is wrong too.
    We are investigating this issue and find the real reason and fix it ASAP.
     
    Regards,
    Terry
  •  12-10-2008, 3:51 AM 46726 in reply to 46712

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Hi,
     
    Both the Flash/Silverlight use windows API GetOpenFileName ( http://msdn.microsoft.com/en-us/library/ms646927(VS.85).aspx ) to show the dialog.
     
    And this dialog has 32K size limited of the selected filenames.
     
    I think currently we can't do anythink on this issue.
     
    We just suggest the users do this way :
     
    1. select 200 files.
    2. while the file is being uploaded , select another files
    3. keep doing the #2 until all files be added into the queue.
     
    Regards,
    Terry
     
  •  12-10-2008, 7:52 AM 46738 in reply to 46726

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    is there a way for me to trap the error and get a friendly message out to the user propmting them to select less files? Is there a way to check the size of the selected file name and handle a friendly meesage from there?
    thanks
  •  12-13-2008, 9:44 AM 46889 in reply to 46738

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Hi,
     
    For the silverlight, we can catch the error, but in Flash now we have no good solution to catch it and show friendly message.
     
    We are still investigating this issue. Maybe we need provide new property to limit xxx files in one selection.
     
    Regards,
    Terry
     
  •  12-15-2008, 6:43 AM 46932 in reply to 46889

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Let me kow how can I catch the error with silver light and the feasibility of having a property to limit X files in one selection.
    actually it would be preferable that we have a fix for the flash as we are using windoww integrated security and as i saw on the forums flash supports sending the auth param to iis while silver light doesn't am i right?
    Thanks
  •  12-17-2008, 10:39 AM 47030 in reply to 46932

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Hello
    I am just wondering if there are any updates on openfiledialog issue( A user friendly error message before uploading, saying too many files selected or so before upload process starts)
    Thanks
  •  12-18-2008, 11:09 AM 47095 in reply to 47030

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Hi,
     
    We will make an update for this issue in 3 days.
     
    Regards,
    Terry
  •  12-30-2008, 7:37 AM 47274 in reply to 47095

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    just wondering if you guys have made any progress on this issue\
    thanks
  •  12-30-2008, 8:27 PM 47301 in reply to 47274

    Re: problem uploading over 220 files with long names and a total size of about 300 mb

    Hi,
     
    Yes, we have done on this issue , providing a friendly message to the users.
    Please try the last version.
     
    Regards,
    Terry
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.