Error uploading a long-name file: The specified path, file name, or both are too long.

  •  03-26-2014, 7:31 AM

    Error uploading a long-name file: The specified path, file name, or both are too long.

    Hi.

     

    I am trying to upload a file with a rather long name (~ 170 characters) and get the error message: "The specified path, file name, or both are too long. The fully qualified file name mush be less than 260 characters, and the directory name must be less than 248 characters."

     

    My understanding is, the CuteWebUI.AjaxUploader control first asynchronously uploads files into a local folder and then sends a POST request to the server, triggerring the files processing. So my guess is, the temp folder the control puts files into has quite long name, causing the problem.

     

    I can't find any documentation on what the temp folder is and how to change it's location. Can anyone help me with that?

     

    Thanks a lot!

     

    Regards, 

    Dmitry 

    Filed under:
View Complete Thread