Uploading large file to Google Drive

866 Views Asked by At

Can anyone help me how to upload large file (more than 1 GB) to Google drive with google drive v2 api using resumable upload with my c# application

using (var stream = new System.IO.FileStream(fileName, System.IO.FileMode.Open, System.IO.FileAccess.Read)) 
{ 
    try { 
        FilesResource.InsertMediaUpload InsertMediaUploadrequest = m_DestiDriveService.Files.Insert(fileBody, stream, p_FileItem.MimeType); 
        IUploadProgress uploadProgress =InsertMediaUploadrequest.Upload(); } 
0

There are 0 best solutions below