CuteWebUI UploadAttachments Control Max File Validation

Last post 03-07-2010, 8:59 PM by cutechat. 2 replies.
Sort Posts: Previous Next
  •  03-05-2010, 7:22 AM 59192

    CuteWebUI UploadAttachments Control Max File Validation

    Hi,
     
    While Uploading a file in the control,i have to allow user to have the file length of 250 characters.
     
    if i create a file with more than 100 character its giving error "Specified Path or File Name is too Long"........
     
    My Senario is that i have to allow max file name of 250 character...Plse help us...
     
    Thanks...
  •  03-07-2010, 6:45 PM 59215 in reply to 59192

    Re: CuteWebUI UploadAttachments Control Max File Validation

    Dear Heidi_pri,
     
    We do not limit file name length, your os limit full qualifed name length to 255 chars,it contains path,besides file name. You can open upload folder in windows explorer, and then create file, and test the maximum file name length, it also will not allow you create file of 250 chars length file name.
    Keep me posted. 
     
    Regards,
    Eric  
  •  03-07-2010, 8:59 PM 59226 in reply to 59192

    Re: CuteWebUI UploadAttachments Control Max File Validation

    Hi,
     
    I can upload a file with 160+chars .
     
    The problem is that, when uploader save the file to the temp directory,
     
    the path is :
     
    x:\folder1\tempdir1\xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx.filename.ext.resx
     
    the folder path, the guid, the '.resx' will spent at least 42 or more chars.
     
    and windows do now allow save it .
     
     
    That is the condition of the 'default provider'
     
    You can write custom provider to save the temp file.
     
     Please check this thread :
     
     
    I have tested 254 chars.
     
    Regards,
    Terry
View as RSS news feed in XML