_files folder (part 2) – “You cannot copy or move a thicket file” – how to rename

Unlike in Windows explorer, if you delete/rename the htm file (even purge from Recycle Bin) in Sharaepoint, the supporting folder will NOT be renamed or deleted. If you try to rename the folder by calling MoveTo( string newFolderName ) method, you will receive this error message: “You cannot copy or move a thicket file. To change the file name or create a copy of the file, open the file and save as to a new name. The rule is that none of the previous folder name or new folder name can ended with ‘_fiels’ keyword. So, how do you rename such a folder to another name?

OK, how about to create the new _files by the new htm name, then move the files/subfolders over, then delete the old one? Well, you will receive the same error message. OK, then how about create another temp folder with a regular name and use it as a transit folder? A little better – the sub folders are OK but the files directly under it will still give you same error message.

Final workaround: create a local working folder and download the content, then create new folder at Sharepoint and re-upload everything, finally delete the old folder. This seems the only solution.

In my project, I came up with a better idea after wasting almost 2 days – I simply delete the old file and _files folder, and use another existing module to upload the new file.

Advertisements
This entry was posted in Document library and tagged . Bookmark the permalink.

5 Responses to _files folder (part 2) – “You cannot copy or move a thicket file” – how to rename

  1. Ash says:

    Can u plzz let me know wether this thicket file issue is resolved in MOSS 2010

  2. Pingback: best keyword tools

  3. Pingback: Copying or moving a thicket file « SharePoint Dragons

  4. Anonymous says:

    User saved a word doc as html, then tried to upload that to sharepoint. It seems the “secret” supporting files didn’t get uploaded. Now the source file (.doc) and containing folder are deleted, but the file can’t be opened in SharePoint (“file not found”). Any way at all to get at what data *is* in the htm file?

    Classic case of “stupid smarts”, i.e. by trying to do things for you (and hiding what’s being done), Microsoft has actually made things worse.

  5. adamdee says:

    Try and download ” Long Path Tool ” useful in situations where you see these error messages: Cannot read from source file or disk, there has been a sharing violation, cannot delete file or folder, the file name you specified is not valid or too long, the source or destination file may be in use and many other file managing errors.

    –adamdee

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s