andresoviedo / google-drive-ftp-adapter

Google Drive FTP Adapter to connect to google drive through the FTP protocol
GNU Lesser General Public License v3.0
395 stars 93 forks source link

How are the cache limits set and controlled? #23

Closed DonDonAr closed 6 years ago

DonDonAr commented 6 years ago

Just getting started with the google-drive-ftp-adapter on Windows 10. Set up and running fine.

I have noted a large number of .DOWNLOAD files being created in the Temp directory. These appear to be caches of the files that have been downloaded from google drive to the ftp client machine. Since I am connected to a very large google drive, I want to be sure to cache does not grow to consume huge amounts of disk space on the adapters host system.

So, how are the cache limits set by default and how are they controlled? When is the clean-up of the cache processed? Start up? Shut down? Some other time while running? Only manually?

Thanks for such a wonderful tool.

Don

andresoviedo commented 6 years ago

Downloading a file now doesn't cache the files. (release 1.5.0) Uploading a file still caches the files because of content-type extraction. I am gonna work on not using these caches

andresoviedo commented 6 years ago

No more intermediate files. Working directly with streams. Content-type is resolved automatically in google drive. Fixed in v1.6.0