Answered by:
SyncToy: What is the max lenth filename limit 2.0 will accept?

Question
-
Hello All,
Does anyone know what is the max lenth filename limit SyncToy 2.0 will accept before giving an error?
Thanks
Wednesday, July 23, 2008 3:23 PM
Answers
-
The relative path length of the file or folder under the folder pair root shouldn't be more than 255 chars.
Thursday, July 24, 2008 12:42 AMAnswerer
All replies
-
The relative path length of the file or folder under the folder pair root shouldn't be more than 255 chars.
Thursday, July 24, 2008 12:42 AMAnswerer -
Hi Jin.
When will the 255 char length change? I seem to remember it used to be a constant somewhere in a header file in the old days.
However, with information lifecycle management and storage management going - and nested parts of filehirarchies across the network this constraint is almost impossible to work with. The only warning you get today is if you maintain the hierarchies frequently as in manual and take note of any length is to long kind of thing. A very usual example is that of saving web pages. If a user does not wrap it up in a container and save it as .html from IE then in the ..._files folder you can have very deep paths almost beyond the 255 chars inside it. For example the Sharepont team and others uses very descriptive names (of course) - however that just goes beyond the 255 limit. So even Microsoft itself does seem to care about that limit any more like in "it should not be there" - or not our problem.
I actually think its kind of strange that such a single but very important thing has not got changed in so many years.
I hope you will forward this to the server team.
NFTS have more or less become dynamic. Database have variable strings lenghs. How come it has to stay like this.
I usually can't just copy files today as in 100 GB. I will get like 50 prompts about a too long file name. Then I have to like sit there and hit skip - and then afterwoods maintain everything left over to make it happen below 255 chars without changing the file system (too much) ... ie folder paths and so on.
In NTFS - this way - you can hardly have logical named folder if it nests more than 5-6 folder deep. Of course you could use Dev\X\1.x.x\... but thats how you did in the old days. Altthough gone in Vista, something like "C:\Documents and settings" reserved like about 24 chars or almost 10% of the fully qualified file name within that contraint of 255 chars. And that is just for starters ... the comes the user name ... may be appended with the domain name and his documents folder. Then you can go like double to 50 chars and loose about 20% of the contraint. So it took 20% of the contraint to beyond the system files and get into the user file system. You haven't even started traversing user file path yet. And that was just locally.
We need the ability to use long file names - and that 255 char length constant keeps us from doing it.
Strange it going to be like that forever! No ... then please remind the server team or NTFS guys.
Its gotta go away!
BTW This post reminded me of that issue. Incredible nobody seems to care about getting rid of that anoying issue ...
Everytime I am confronted with this issue its like somebody says - hey we now about it and I think ...ok, don't complain because they know about and some day it will go away. Well I seen the release of XP, 2003, Vista and now 2008 including several service packs ... so when do we get to use the file system. This is actually kind of blocking for a lot of nice network use, symbolic links etc. You just know today - care about the path length, keep it down - or the file system becomes unsuable. Especially when you run the backup all stuff goes out, skips or become obscured beyond 255 chars.
So the complaint. Hope it will be fixed within the next 10 years - no it has to go in NTFS 7 ... Windows 7 ... i.e. guess the DB file system must be coming around - and eventually fix it. WinFS Team jumped into SQL Server Team, ehh? Guess new file system will come along, soon enough.
Anyway would be nice to have that fixed ...
Thursday, July 24, 2008 1:38 AM -
Thank you for the great response!
Will communicate in the team and see what we can do.
Thursday, July 24, 2008 6:21 PMAnswerer -
Hi -
Thanks for the feedback and I hope we can try to make your experience better in future releases. One thing that stood out for me in your post above is that you say you are prompted to skip files that are too long - we currently report as errors all file/folder paths are too long on the source side or too long on the destination side when we copy.
Could you give us more details on the exact message box that you see telling you that the length is too long?
Thanks
Deepa
Wednesday, July 30, 2008 2:29 AM -
I totally agree with you. This is basic stuff that a serious organisation cannot drag. It MUST be fixed to accept much longer path/file names.
Computers are now being used by "ordinary people" that has no "programming sense" and just will never give attention to full pathname size.
Again, it MUST be fixed NOW!
Please, forward this to the server team.
I am always amazed to notice how the more an organisation grows in size, the more it is difficult to resolve simple issues that appear basic to the world. May be cause "it nobody's fault", "it's never me, always somebody else, but I don't know who."
Computermensch wrote: Hi Jin.
When will the 255 char length change? I seem to remember it used to be a constant somewhere in a header file in the old days.
However, with information lifecycle management and storage management going - and nested parts of filehirarchies across the network this constraint is almost impossible to work with. The only warning you get today is if you maintain the hierarchies frequently as in manual and take note of any length is to long kind of thing. A very usual example is that of saving web pages. If a user does not wrap it up in a container and save it as .html from IE then in the ..._files folder you can have very deep paths almost beyond the 255 chars inside it. For example the Sharepont team and others uses very descriptive names (of course) - however that just goes beyond the 255 limit. So even Microsoft itself does seem to care about that limit any more like in "it should not be there" - or not our problem.
I actually think its kind of strange that such a single but very important thing has not got changed in so many years.
I hope you will forward this to the server team.
NFTS have more or less become dynamic. Database have variable strings lenghs. How come it has to stay like this.
I usually can't just copy files today as in 100 GB. I will get like 50 prompts about a too long file name. Then I have to like sit there and hit skip - and then afterwoods maintain everything left over to make it happen below 255 chars without changing the file system (too much) ... ie folder paths and so on.
In NTFS - this way - you can hardly have logical named folder if it nests more than 5-6 folder deep. Of course you could use Dev\X\1.x.x\... but thats how you did in the old days. Altthough gone in Vista, something like "C:\Documents and settings" reserved like about 24 chars or almost 10% of the fully qualified file name within that contraint of 255 chars. And that is just for starters ... the comes the user name ... may be appended with the domain name and his documents folder. Then you can go like double to 50 chars and loose about 20% of the contraint. So it took 20% of the contraint to beyond the system files and get into the user file system. You haven't even started traversing user file path yet. And that was just locally.
We need the ability to use long file names - and that 255 char length constant keeps us from doing it.
Strange it going to be like that forever! No ... then please remind the server team or NTFS guys.
Its gotta go away!
BTW This post reminded me of that issue. Incredible nobody seems to care about getting rid of that anoying issue ...
Everytime I am confronted with this issue its like somebody says - hey we now about it and I think ...ok, don't complain because they know about and some day it will go away. Well I seen the release of XP, 2003, Vista and now 2008 including several service packs ... so when do we get to use the file system. This is actually kind of blocking for a lot of nice network use, symbolic links etc. You just know today - care about the path length, keep it down - or the file system becomes unsuable. Especially when you run the backup all stuff goes out, skips or become obscured beyond 255 chars.
So the complaint. Hope it will be fixed within the next 10 years - no it has to go in NTFS 7 ... Windows 7 ... i.e. guess the DB file system must be coming around - and eventually fix it. WinFS Team jumped into SQL Server Team, ehh? Guess new file system will come along, soon enough.
Anyway would be nice to have that fixed ...
Wednesday, November 12, 2008 11:19 AM -
as a new user of SyncToy 2.0 I would not have expected to have come across a "pathname length too long" error. particularly given this is a second release go round. given how we're way, way steeped in the client/server paradigm and right on the edge of cloud computing (reads Live Mesh, etc...) any pathname length restriction is...... (well you know) :-)
i would expect no pathname length restriction at all - pathnames will be dynamic and generated in many indirect fashions.
my suggestion - have a 2.1 (or 2.4 if you prefer) release as soon as possible.
oh, and suggest putting combine and subscribe actions back into the actions menu. this rather than requiring the user to explicitly manage the recycle bin.
the NAS issues are reason enough to have a 2.x release out asap.
appreciate the attention to these matters.
- bill
billpk4Tuesday, July 14, 2009 2:46 AM -
So, did the release of Synctoy v2.1 finally address this issue? I can't find any mention of it being a fixed issue, but I also find no mention of the character limit in any of the documentation for the software.Thursday, January 7, 2010 1:02 AM
-
The limitation still exists.
Thanks
Deepa
Deepa ( Microsoft Sync Framework)Thursday, January 7, 2010 1:12 AM -
I can't believe this still isn't fixed. I checked back because last time I tried Synctoy I thought it was fantastic, aside from this DEFECT that prevented me from actually using it as intended. Point the finger where you want: user, OS, Etc. but for easy file duplication and backup this software is DEFECTIVE. Sad because everything else about it is phenomenal.Tuesday, August 10, 2010 2:33 AM
-
I recall raising this issue a few years ago.. The simple answer and solution is please remove the 255 character restriction.
I cannot believe this issue, being the single most important issue limiting the versatility of this tool, has not been resolved after so many years.
I just loaded version 2.1 and ran the sync over-night with over 90GB to back-up. But in the morning, when I saw all the error messages, I remembered why I stopped using this tool.
My advice to anyone, is to stay away from Synctoy until Microsoft release an unrestricted version.
Raj Z
Friday, February 25, 2011 11:37 PM -
I second that completely. This is ridiculous! Am seriously looking to Linux for future computers.Monday, May 2, 2011 3:46 PM
-
I third that. Synctoy is useless with a 255 Character limit.Friday, October 14, 2011 3:36 PM