_Files reserved word? with Next Generation client

%3CLINGO-SUB%20id%3D%22lingo-sub-30362%22%20slang%3D%22en-US%22%3E_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30362%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20preparing%20to%20roll%20the%20Next%20Generation%20OneDrive%20out%20to%20about%2023%2C000%20users%20and%20we%20are%20currently%20getting%20feedback%20from%20a%20few%20pilot%20locations.%3C%2FP%3E%3CP%3EOne%20of%20the%20comments%20we%20received%20today%20was%20that%20FOLDER%20names%20which%20contain%20an%20underscore%20do%20not%20sync%20using%20the%20new%20client.%26nbsp%3B%20In%20testing%20we%20have%20not%20found%20that%20to%20be%20correct%20and%20we%20have%20many%20folders%20with%20underscores%20working%20fine.%26nbsp%3B%20However%2C%20we%20did%20find%20one%20scenario%20which%20is%20failing%2C%20but%20which%20worked%20ok%20with%20the%20old%20Groove%20client%3A%3C%2FP%3E%3CP%3EIn%20a%20folder%20name%2C%20if%20there%20is%20anything%2C%20then%20an%20underscore%20preceeding%20%22file%22%20or%20%22files%22%2C%20the%20sync%20will%20fail%20in%20the%20Next%20Gen.%20client.%26nbsp%3B%20It%20will%20work%20fine%20with%20old%20Groove%20sync%20clients.%3C%2FP%3E%3CP%3EFor%20example%20Folders%20called%20%22these_files%22%20will%20fail.%26nbsp%3B%20%22This_file%22%20will%20also%20fail.%3C%2FP%3E%3CP%3E_Files%20will%20work%3C%2FP%3E%3CP%3E_file%20will%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFolder%20names%20with%20a%20percent%20or%20hash%20sign%20also%20do%20not%20work%2C%20but%20I%20wouldn't%20have%20expected%20them%20to.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAnyone%20else%20see%20this%20or%20know%20if%20there%20is%20a%20list%20of%20reserved%20words%2C%20or%20if%20anyone%20has%20created%20a%20program%20which%20can%20recurse%20a%20folder%20tree%20and%20warn%20the%20user%20if%20there%20are%20any%20noncompliant%20filenames%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-30362%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-34347%22%20slang%3D%22en-US%22%3ERe%3A%20_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-34347%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20have%20the%20Next%20Generation%20client%20preview%20client%20supporting%20Sharepoint%20site%20since%20the%20beginning%20and%20have%20no%20issue%20with%20it.%20Yesterday%20it%20update%20to%20version%2017.3.6705.1122%20and%20start%20having%20issue%20with%202%20old%20syncs%20folders%20ending%20by%20_files%20(as%20coming%20from%20save%20of%20webpage).%3C%2FP%3E%3CP%3ERename%20them%20and%20putting%20back%20the%20orginal%20name%20ending%20by%20_files%20solve%20temporary%20the%20issue%20but%20it%20come%20back%20after%20waiting%20some%20hour.%3C%2FP%3E%3CP%3EDoes%20someone%20known%20the%20origin%20of%20this%20limitation.%20I%20understand%20form%20COM%2C%20PRN%2C%20...%20files%20but%20folder%20ending%20by%20_files%20is%20quite%20common%20especially%20if%20you%20save%20webpage.%20MS%20doesn't%20want%20we%20save%20then%20due%20to%20risk%20within%20html%20page%3F%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EVincent%20VALENTIN%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-32451%22%20slang%3D%22en-US%22%3ERe%3A%20_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-32451%22%20slang%3D%22en-US%22%3E%3CP%3Eso%20here%20is%20the%20link%20form%20a%20KB%203125202%20for%20the%20Next%20Generation%20Sync%20Client%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fkb%2F3125202%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ERestrictions%20and%20limitations%20when%20you%20sync%20files%20and%20folders%20using%20the%20new%20OneDrive%20for%20Business%20sync%20client%20%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30987%22%20slang%3D%22en-US%22%3ERe%3A%20_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30987%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%20wrote%3A%3CBR%20%2F%3E%3CP%3EIt%20is%2C%20as%20detailed%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fkb%2F2933738%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fkb%2F2933738%3C%2FA%3E%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EAccording%20to%20this%20info%3A%3C%2FP%3E%3CP%3EThe%20following%20folder%20names%20can%20be%20synchronized%20in%20OneDrive%20for%20Business%20and%20SharePoint%20Online.%20However%2C%20if%20they%E2%80%99re%20synchronized%2C%20they%20may%20not%20appear%20when%20you%20view%20the%20library%20on%20the%20SharePoint%20Online%20or%20OneDrive%20for%20Business%20webpage.%20With%20some%20of%20these%20restrictions%2C%20you%20may%20be%20unable%20to%20add%20files%20or%20folders%20that%20have%20these%20characters%20while%20in%20the%20OneDrive%20for%20Business%20folder.%20However%2C%20if%20you%20create%20the%20files%20or%20folders%20outside%20OneDrive%20for%20Business%20and%20then%20drag%20those%20files%20or%20folders%20into%20the%20OneDrive%20for%20Business%20folder%2C%20the%20files%20and%20folders%20will%20sync%20but%20the%20files%20won't%20appear%20on%20the%20webpage.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E*_files%0A*_Dateien%0A*_fichiers%0A*_bestanden%0A*_file%0A*_archivos%0Aetc.%20etc.%3C%2FPRE%3E%3CP%3EAccording%20to%20Glen%20he%20could%20upload%20a%20%22My_Files%22%20folder%20and%20provided%20a%20screenshot%20of%20the%20web%20interface%20as%20proof.%3C%2FP%3E%3CP%3EAccording%20to%20Microsoft%20he%20should%20not%20have%20been%20able%20to%20see%20the%20folder%20on%20the%20web%20interface%20(see%20above).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBoth%20statements%20contradict%20each%20other%20so%20most%20likely%20both%20are%20false.%26nbsp%3B%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESeriously%2C%20it%20is%20(sort%20of)%20ok%20if%20there%20are%20some%20restrictions%20for%20file%20and%20folder%20names%20because%20they%20come%20from%20legacy%20applications%20where%20people%20should%20have%20know%20better%20but%20didn't%20implement%20a%20better%20solutions.%20(Special%20filenames%20were%20%3CEM%3Enever%3C%2FEM%3E%20a%20good%20idea.%20Localized%20filenames%20like%20_files%20and%20_Dateien%20didn't%20make%20it%20better.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20%3CEM%3Epretty%20pretty%20please%20with%20a%20sprinkle%20of%20sugar%3C%2FEM%3E%20give%20us%20meaningful%20error%20messages!%20If%20the%20sync%20client%20is%20not%20able%20to%20sync%20those%20files%20and%20folder%20it%20should%20tells%20us%20about%20it%20in%20the%20client%20and%20not%20on%20a%20web%20page%20which%20is%20most%20likely%20out%20of%20date%20when%20a%20new%20version%20of%20the%20client%20is%20published.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30525%22%20slang%3D%22en-US%22%3ERe%3A%20_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30525%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Nigel%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20tested%20with%20a%20My_Files%20folder%20-%20No%20problem%20here%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30511%22%20slang%3D%22en-US%22%3ERe%3A%20_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30511%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Glen.%26nbsp%3B%26nbsp%3B%20The%20issue%20I'm%20seeing%20is%20specifically%20with%20using%20the%20word%20%22Files%22%20or%20%22File%22%20after%20an%20underscore%20following%20any%20characters%3C%2FP%3E%3CP%3EIn%20the%20Next%20Generation%20client%3A%3C%2FP%3E%3CP%3EThis%20folder%20works%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20_files%3C%2FP%3E%3CP%3EThis%20folder%20fails%3A%26nbsp%3B%26nbsp%3B%20My_files%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20using%20the%20origional%20Groove%20client%2C%20both%20names%20sync%20successfully.%3C%2FP%3E%3CP%3EThis%20came%20up%20as%20we%20are%20having%20users%20upgrade%20from%20the%20old%20client%20to%20the%20next%20generation%20client%2C%20and%20some%20are%20reporting%20that%20folders%20which%20have%20always%20worked%20with%20the%20old%20client%20are%20now%20failing%20with%20the%20new.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20Vasil%20pointed%20out%20that%20%22files%22%20is%20a%20documented%20reserved%20word%20in%20the%20KB%20he%20noted%20above%2C%20when%20using%20the%20old%20client.%26nbsp%3B%20This%20is%20opposite%20to%20what%20I've%20seen%20(works%20in%20the%20old%20client%20but%20not%20in%20the%20new)%2C%20but%20clearly%20its%20a%20combination%20to%20be%20avoided%20either%20way.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30423%22%20slang%3D%22en-US%22%3ERe%3A%20_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30423%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Nigel%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIm%20running%20the%20OneDrive%20Preview%2017.3.6674%20on%20MacOS%20Sierra%20and%20have%20no%20problem%20uploading%20folders%20with%20_%20Just%20tested%20with%20a%20folder%20called%3A%20This_Folder_Will_Fail%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EJust%20asked%20my%20colleague%20with%20Window%2010%20-%20OneDrive%20version%2017.3.6517%20to%20create%20a%20folder%20called%20This_Folder%20and%20he%20has%20no%20problem%20uploading%20to%20OneDrive%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30396%22%20slang%3D%22en-US%22%3ERe%3A%20_Files%20reserved%20word%3F%20with%20Next%20Generation%20client%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30396%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20is%2C%20as%20detailed%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fkb%2F2933738%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fkb%2F2933738%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

We are preparing to roll the Next Generation OneDrive out to about 23,000 users and we are currently getting feedback from a few pilot locations.

One of the comments we received today was that FOLDER names which contain an underscore do not sync using the new client.  In testing we have not found that to be correct and we have many folders with underscores working fine.  However, we did find one scenario which is failing, but which worked ok with the old Groove client:

In a folder name, if there is anything, then an underscore preceeding "file" or "files", the sync will fail in the Next Gen. client.  It will work fine with old Groove sync clients.

For example Folders called "these_files" will fail.  "This_file" will also fail.

_Files will work

_file will work.

 

Folder names with a percent or hash sign also do not work, but I wouldn't have expected them to. :)


Anyone else see this or know if there is a list of reserved words, or if anyone has created a program which can recurse a folder tree and warn the user if there are any noncompliant filenames?

7 Replies
Highlighted
Highlighted

Hi Nigel

 

Im running the OneDrive Preview 17.3.6674 on MacOS Sierra and have no problem uploading folders with _ Just tested with a folder called: This_Folder_Will_Fail

Just asked my colleague with Window 10 - OneDrive version 17.3.6517 to create a folder called This_Folder and he has no problem uploading to OneDrive

Highlighted

Thanks Glen.   The issue I'm seeing is specifically with using the word "Files" or "File" after an underscore following any characters

In the Next Generation client:

This folder works:    _files

This folder fails:   My_files

 

But when using the origional Groove client, both names sync successfully.

This came up as we are having users upgrade from the old client to the next generation client, and some are reporting that folders which have always worked with the old client are now failing with the new. 

 

However Vasil pointed out that "files" is a documented reserved word in the KB he noted above, when using the old client.  This is opposite to what I've seen (works in the old client but not in the new), but clearly its a combination to be avoided either way.

Highlighted

Hi Nigel

 

Just tested with a My_Files folder - No problem here

Highlighted

@Vasil Michev wrote:

It is, as detailed here: https://support.microsoft.com/en-us/kb/2933738


According to this info:

The following folder names can be synchronized in OneDrive for Business and SharePoint Online. However, if they’re synchronized, they may not appear when you view the library on the SharePoint Online or OneDrive for Business webpage. With some of these restrictions, you may be unable to add files or folders that have these characters while in the OneDrive for Business folder. However, if you create the files or folders outside OneDrive for Business and then drag those files or folders into the OneDrive for Business folder, the files and folders will sync but the files won't appear on the webpage.

 

*_files
*_Dateien
*_fichiers
*_bestanden
*_file
*_archivos
etc. etc.

According to Glen he could upload a "My_Files" folder and provided a screenshot of the web interface as proof.

According to Microsoft he should not have been able to see the folder on the web interface (see above).

 

Both statements contradict each other so most likely both are false.  ;)

 

Seriously, it is (sort of) ok if there are some restrictions for file and folder names because they come from legacy applications where people should have know better but didn't implement a better solutions. (Special filenames were never a good idea. Localized filenames like _files and _Dateien didn't make it better.)

 

But pretty pretty please with a sprinkle of sugar give us meaningful error messages! If the sync client is not able to sync those files and folder it should tells us about it in the client and not on a web page which is most likely out of date when a new version of the client is published.

Highlighted
Highlighted

Hello,

I have the Next Generation client preview client supporting Sharepoint site since the beginning and have no issue with it. Yesterday it update to version 17.3.6705.1122 and start having issue with 2 old syncs folders ending by _files (as coming from save of webpage).

Rename them and putting back the orginal name ending by _files solve temporary the issue but it come back after waiting some hour.

Does someone known the origin of this limitation. I understand form COM, PRN, ... files but folder ending by _files is quite common especially if you save webpage. MS doesn't want we save then due to risk within html page?

Regards

Vincent VALENTIN