asp:fileupload and a file that's 13 folders deep on a network drive.

Last post 06-18-2007 2:01 PM by ozgoodz. 1 replies.

Sort Posts:

  • asp:fileupload and a file that's 13 folders deep on a network drive.

    06-18-2007, 1:34 PM
    • Member
      10 point Member
    • ozgoodz
    • Member since 06-18-2007, 1:28 PM
    • Posts 2

    My users are trying to upload a file that's on a network drive 13 folders off of the root.  You can browse to the file using the browse button but when you select the file the file input text field is always blank.  MS Word even blows up when trying to open this file.  If I move the file to the 3rd folder in the tree everything works file.  I'm looking for some technical article that shows the limits to what can be attached and what can't.  The unfortunate part is that if you create a folder hive that's 13 folders deep on a local drive everything works fine.

     The issue seems to be more in the network driver area as it really only occurs on network drives.  I mean, how many of us have tried to copy a local folder to the network and have been met with "File path too deep" or other such messages.

     Anyhow, hopefully someone out there has a tech article or something that talks about this.

    Thanks,

    Ozgood.

  • Re: asp:fileupload and a file that's 13 folders deep on a network drive.

    06-18-2007, 2:01 PM
    Answer
    • Member
      10 point Member
    • ozgoodz
    • Member since 06-18-2007, 1:28 PM
    • Posts 2
    So here is what I found.  If the drive is formatted as NTFS the file path must be shorter than MAX_PATH which is 255 characters.  This tech article helped.  See Cause 4.

    http://support.microsoft.com/kb/320081

Page 1 of 1 (2 items)