Questions tagged [drive]

Use this tag for questions related to physical disk drives. If your question is about the Google Drive API, use [google-drive-sdk]. For Google Apps Script's Drive Service (Class DriveApp) use [google-apps-script].

Drive(disk drive) - the controller and mechanism for reading and writing data on computer disks(a spinning magnetic disk, magnetic disk pack, floppy disk, or optical disk).

Early operating systems used a command line interface in which the user typed short commands, often followed by various parameters and options. For operations on disks, one commonly specified the disk name or drive number (or letter).

References:

958 questions
9
votes
0 answers

How to Backup app data similar to whatsapp

Hi I am trying to implement backup funcationality similar to whatsapp, but when I come across that after reverse engineering whatsapp manifest code. Here are the observations, android:allowBackup="false" which means Its not taking help of default…
9
votes
3 answers

Google Drive API v3: Invalid field selection

I am using Google Drive API v3 to access about the drive like space quota. And, no matter what I do, I am stuck with this error: Fatal error: Uncaught exception 'Google_Service_Exception' with message 'Error calling **GET…
Rehmat
  • 2,121
  • 2
  • 24
  • 28
9
votes
2 answers

Error when displaying an image from Google Drive using the WebViewLink in Safari and Internet Explorer for authenticated users

I am working on an intranet that requires user authentication to access private folders on the logged in user's Google Drive. Images are pulled from folders and displayed in the intranet using the image's WebViewLink. This works fine in Chrome and…
8
votes
1 answer

Upload file to google drive with googleapis in Background (Flutter)

I can upload files to google drive with googleapis in the foreground but I need to upload files in the background in my flutter app. I tried to upload with workmanager but it doesn't work. Here is some necessary part of the code for this post of my…
Santo Shakil
  • 981
  • 2
  • 13
  • 27
8
votes
1 answer

Store data into google drive's backup tab instead of drive folders

I need to implement same thing like whatsapp storing all chat history to google drive on clicking on backup button in app. And same restore it in new device as required. I have look for below references for implementing this, but some how I was not…
8
votes
2 answers

Google Drive Python API; upload a media object which is NOT a file

I'm able to upload a file to Google Drive using the python API as provided in this example by using the MediaUpload class. But I need to upload a file which is dynamically created and I don't want to save it and open again. There is no such…
Jun
  • 2,339
  • 1
  • 20
  • 26
8
votes
4 answers

Find file's parent id : Google Drive API V3

Today after I updated my Drive API to V3, I dint find any method to find the parent of the selected file . Is the rest endpoint to fetch json related to parent's info changed?
akgaur
  • 755
  • 1
  • 6
  • 21
8
votes
2 answers

How to copy files to network path or drive using Python

Mine is similar to this question. How to copy a file from a network share to local disk with variables? The only difference is my network drive has a password protect with username and password. I need to copy files to a Samba share using Python and…
user218976
  • 91
  • 1
  • 2
  • 4
8
votes
3 answers

Accessing Windows disks directly with Java NIO

I am using a library that uses Java NIO in order to directly map files to memory, but I am having trouble reading disks directly. I can read the disks directly using FileInputStream with UNC, such as File disk = new…
timbo
  • 1,533
  • 1
  • 15
  • 26
7
votes
0 answers

after using 'udisksctl power-off -b /dev/sdb', is there any way to use '/dev/sdb' again without physically reconnecting usb flash drive?

Rarely my flash drive doesnt work properly and it needs to be reconnected. Instead of manually reconnecting it, I'm powering it off using 'udisksctl power-off -b /dev/sdb'. Is there any way to "power it on" again without the need to physically…
7
votes
2 answers

Set Drive VolumeLabel

I am working on a small utility where I would like to change the volume label on flash drives that are connected to the computer. I know that DriveInfo is capable of doing it but I am at a loss as for how to accomplish it. If anyone has a code…
Paxamime
  • 203
  • 2
  • 7
7
votes
2 answers

Do programs continue execution after connection is lost on google-colaboratory?

I am using google-colaboratory to train some convnets on image classification with Keras. And I get often disconnected from the notebook which I've found (on some forums) to be a frequent issue with some colaboratory users. And when I try to…
Alka
  • 767
  • 1
  • 6
  • 13
7
votes
3 answers

Play Store app with Google drive sdk is always showing 'Choose account' popup

I have integrated the Google drive sdk with the app and is working fine with the debug and signed build. But, when the app is installed from Play Store it is always showing the Account Chooser popup. Seems like the authentication is getting failed…
7
votes
3 answers

embed google drive picker as a part of page

I want to embed/implement Google Drive as a part of my page; like a normal grid or a table instead of having as a popup. I have took a reference from GoogleAPI page. Also, researched many things for my requirements but nothing would worked for…
7
votes
2 answers

Google Identity Platform: Cannot exchange authorization code for refresh and access tokens

I'm trying to get access to Google Drive API and I read documentation. My iOS app sends first request to ask for permission to endpoint https://accounts.google.com/o/oauth2/v2/auth. User grants permission. I get a code. Next step is to authorization…
Yurii Boiko
  • 321
  • 1
  • 8
1 2
3
63 64