akpjc.blogg.se

Get fileid from google drive url
Get fileid from google drive url







get fileid from google drive url

Name = filename, Description = fileDescription, MimeType = fileMime, Parents = new string Here's my code: public async Task UploadFileAsync(Stream file, string fileName, string fileMime, string folder, string fileDescription)ĭriveService driveService = GetService() The resource body includes fields which are not directly writable.' Google.GoogleApiException: 'The service drive has thrown an exception. I have tried solutions that were provided for Java and Python, but I am getting error: I have searched numerous answers on the Internet and StackOverflow, but did not anything that would help me solve the problem. I am not able to add Permission and shareable link to the uploaded files. I am able to upload the files and get FileId.

get fileid from google drive url get fileid from google drive url

I am trying to get public shareable link of the uploaded files to GoogleDrive using GoogleDriveApi v3.









Get fileid from google drive url