Jason Hughes wrote: > All versions of Windows have a limit of 250-ish characters maximum for a > full path, including the filename and extension, regardless of file > system. I'm not aware of a lower limit imposed by the file system or > OS, but it's likely related. Are you running Unicode-16 character set > or UTF-16 on the server or Windows box, perhaps? That might halve the > limit--I'm not sure. > > Hope that helps, > JH > > Brendan Simon wrote: >> I'm get xfer errors on long path/filenames. total length is over 100 chars. >> Is there a limit on the total path/filename size ??? >> >> Example error: >> >> Read error: Connection reset by peer opening remote file >> \bjsimon\ABCD\svn-sandbox\branches\firmware\P20-NiceBigProject-2\F1234.humongous-mutation\project\F1234\src\datapath\src\rx_manager\src\r >> >> (\bjsimon\CTAM\svn-sandbox\branches\firmware\P20-NiceBigProject-2\F1234.humongous-mutation\project\F1234\src\datapath\src\rx_manager\src\) >> >> There are 6 files in that directory starting with 'r'. >> Examples: >> rx_foo1.v >> rx_foo2.v >> >> How can I get backuppc to backup long windows xp file names? >> Is it a length problem or some other issue? >> >> Thanks, >> Brendan. >> >>
In the Windows API, the maximum length for a path is MAX_PATH, which is defined as 260 characters. A path is structured in the following order: drive letter, colon, backslash, components separated by backslashes, and a null-terminating character, for example, the maximum path on the D drive is D:\<256 chars>NUL. The Unicode versions of several functions permit a maximum path length of approximately 32,000 characters composed of components up to 255 characters in length. To specify that kind of path, use the "\\?\" prefix. http://msdn2.microsoft.com/en-us/library/aa365247.aspx ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
