New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows WebDAV cache (Tfs_DAV directory) not correctly cleaned #67

Closed
superdark opened this Issue Jul 22, 2015 · 7 comments

Comments

Projects
None yet
6 participants
@superdark
Copy link

superdark commented Jul 22, 2015

Hello,
I am trying out this very interesting piece of software on window 7/64 bit. I am encryping a very large directory with a lot of files. Now I see the my C-drive is eaten up. The reason is that in the following directory very much *.tmp files are stored: C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\TfsStore\Tfs_DAV. I think it is better that this program should automaticly removes the tmp file after the file is processed.

Best regards, Huub.

@overheadhunter

This comment has been minimized.

Copy link
Member

overheadhunter commented Jul 22, 2015

These files are not created by cryptomator but are related with Windows' WebDAV client. But maybe there is a way to trigger Windows to clean up those files after unmounting the drive.

@superdark

This comment has been minimized.

Copy link

superdark commented Jul 22, 2015

Thanks, this should be a good enhancement voor me.

@superdark

This comment has been minimized.

Copy link

superdark commented Jul 22, 2015

I just saw a hotfix and implemented this:
https://support.microsoft.com/en-us/kb/2790804
IT WORKS!

@overheadhunter

This comment has been minimized.

Copy link
Member

overheadhunter commented Jul 22, 2015

Great! Thank you very much for your feedback 👍

@markuskreusch

This comment has been minimized.

Copy link
Contributor

markuskreusch commented Jul 17, 2017

It seems like Windows still leaves files in this directory. A user reported that files remain there on Windows 10 (no hotfix available there). On a patched Win 7 machine the files seem to be cleaned but some really old files where still in there on my machine.

A short test showed that manual deletion (using java) of the files in the Tfs_DAV directory works (although it is a system directory). Maybe we should delete all files in there after locking a vault or before closing Cryptomator. Side effects on running WebDAV connections need to be checked.

@markuskreusch markuskreusch reopened this Jul 17, 2017

@markuskreusch markuskreusch changed the title Harddrive fills up with *.tmp files TfsStore not correctly cleaned Jul 17, 2017

@markuskreusch markuskreusch changed the title TfsStore not correctly cleaned Windows WebDAV cache (Tfs_DAV directory) not correctly cleaned Jul 17, 2017

@markuskreusch markuskreusch added this to the 1.3.2 milestone Jul 17, 2017

@markuskreusch markuskreusch self-assigned this Jul 17, 2017

@DMW007

This comment has been minimized.

Copy link

DMW007 commented Nov 17, 2017

Is there a way to move/link the Tfs_DAVfolder somewhere else? I'm using Cryptomator for backups. Since the backups got packed and compressed, I ended having very large files in Tfs_DAV. But my C drive is a SSD. So I'm not having too much free space there. And I'm also worry about the wastage. The system has a classic HDD as second drive. It would be better to use this drive for the caching content of Tfs_DAV.

I found the following article about this issue: http://www.happysysadm.com/2012/05/tfsdav-folder-filling-up-c-drive.html
Sadly it doesn't seem to work: The creation process of my archive is aborted with the error SYSTEM ERROR: Wrong Parameter.
So sadly Cryptomator isn't really useable for my case. The only way to work around this issue seems to use another encryption tool like AESCrypt, since the problem is caused by WebDAV from Windows, which is used by Cryptomator.

@overheadhunter overheadhunter modified the milestones: 1.3.2, 1.x Nov 23, 2017

@overheadhunter overheadhunter modified the milestones: 1.x, 1.4.0 Jun 20, 2018

@infeo

This comment has been minimized.

Copy link
Member

infeo commented Sep 3, 2018

1.4.0 will have dokany support, which provides a filesystem interface independent from WebDAV. This can be used as a workaround.
You can find the current beta here: Cryptomator 1.4.0-beta2 with Dokany enabled.

Please notice: This is a BETA! Make Backups when you're using this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment