cppcryptfs icon indicating copy to clipboard operation
cppcryptfs copied to clipboard

Errors downloading to container on Google Drive File Stream

Open ablakers opened this issue 5 years ago • 3 comments

Some applications that have a temporary filename/extension on a file while it is downloading (e.g. crdownload files for Chrome, .partial files for Edge) fail in various ways to download files into a container within a Google Drive mounted through File Stream.

Firefox saves the file as a zero-byte file, Google immediately errors "Failed - No file", and Edge downloads the file but fails when renaming it from the .partial file

JDownloader on Windows succeeds even though it uses .part files when it downloads, however when JDownloader is running on a Linux VM and is downloading to the same location on the host via SMB mount of the container it crashes cppcryptfs when the file finishes downloading (though I know I would probably be better off using rclone and proper gocryptfs on the VM rather than the convoluted setup of SMB on top of cppcryptfs on top of File Stream)

wget on the other hand, which does not use a different filename while downloading, has had no issues downloading into the cppcryptfs container on either Windows or Linux.

ablakers avatar Jun 04 '19 21:06 ablakers

I think the problem has to do with the fact that Google Drive File Stream is itself and installable filesystem. So if you have your encrypted files in File Stream, you're running one IFS on top of another IFS.

I wish I could debug the File Stream issues. However, I do not have a school or work Google account, so I can't get access to it.

bailey27 avatar Jun 09 '19 13:06 bailey27

hi~

now I use cppcfs .25 ver and fastcopy, i can handle 5GB movies on GFS. it sucks if using beyond compare or teracopy, as other users point out and I also tried.

I am not sure why fastcopy works but it just worked for me, for files > 5GB.

ps to author: others dislike i tell the above information by making a new issue and then close it later. I dont know where I can share some tips on cppcfs I tried.

pls see if there will be official forum or if we can post in this issue thread and then close it later. (in this way no workload added to your side)

i think open source program need more interaction between author(s) and the user(s).

thanks.

ccchan234 avatar Jun 17 '19 21:06 ccchan234

I think the problem has to do with the fact that Google Drive File Stream is itself and installable filesystem. So if you have your encrypted files in File Stream, you're running one IFS on top of another IFS.

I wish I could debug the File Stream issues. However, I do not have a school or work Google account, so I can't get access to it.

hi, pls be reminded that even now free google account also support some soft of "google file stream" now, as far as i know, thanks

ccchan234 avatar May 19 '22 17:05 ccchan234