Running Windows 10 pro, 128 GB RAM, GAM Version 6.31.
I've written a script to download files from a Google drive account while preserving the user's folder structure. It seems to work but in the process I've found a potential bug. When downloading using get drivefile, certain files will have their extensions appended the the name of the file without a ".". So if the file name was "hud changes and upgrades.drawio", GAM retrieves as "hud changes and upgradsdrawio". So the extension becomes part of the file name. I've noticed it with htmls too. It doesn't do this with every file and I can't find any logic behind which files it fails with and which it doesn't, but it's consistent. If a file downloaded this way, that same file will always download that way and I've tested in just by running it very simply from a command line. I note that the "title" entry in the downloaded file list shows the file without any extension but the extension is found in the fileExtension and fullFileExtension fields. GAM must be figuring that out but then appends them improperly.
Am I doing something wrong or is this an actual bug? I've downloaded thousands of files with it and this appears to happen on a relatively small but not insignificant percentage of them, but I haven't calculated that percent yet.