Hi @ASR
It is recommended to browse the official documentation here, which provides code examples for your reference:
Here is Download file:
// Code snippets are only available for the latest version. Current version is 5.x
var graphClient = new GraphServiceClient(requestAdapter);
await graphClient.Drives["{drive-id}"].Items["{driveItem-id}"].Content.GetAsync();
Here is upload file:
https://learn.microsoft.com/en-us/graph/api/driveitem-createuploadsession?view=graph-rest-1.0
https://stackoverflow.com/questions/41285403/upload-file-to-sharepoint-drive-using-microsoft-graph
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards
Cheng Feng