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].

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

Linking to Image in Google Drive

I have an app that links to a Google Sheet and 1 column of the Sheet has links to images on Google Drive. These links worked as with the link: https://drive.google.com/uc?id=1wHFpogegcY3FMgXNM1pYFh-...
user3353300's user avatar
0 votes
0 answers
38 views

Upload a file to Google Drive and VB.net : nullReferenceException error

I'm trying to learn to upload a file to Google Drive with a simply software created with VB.net but I have some errors.. when I push Button1 I receive this error: "System.NullReferenceException: ...
Marco Giglio's user avatar
0 votes
0 answers
9 views

How to download a drive.google.com/file using linux cli

I have been trying to download a file from a drive.google.com/file/d/FILEID/view?usp=sharing link with wget, but it can't seem to work. I just get a very long text file with html code in it. I have ...
Ethan's user avatar
  • 1
0 votes
0 answers
12 views

Raspberry Pi OS 64 bit not detecting USB drive at boot

I reinstalled Raspberry Pi OS 64 bit on my Raspberry Pi 4 and I configured it to automount an external USB drive by editing fstab. The problem is it doesn't detect the drive at boot and it doesn't ...
Massi's user avatar
  • 13
0 votes
1 answer
28 views

Google Drive API to Zapier

I am trying to build a simple Zap that gives a user (or users) writer permission in a newly created shared drive folder. Zapier doesn't offer this action but it offers access to the Drive API V3. I ...
Julian W.'s user avatar
-4 votes
0 answers
27 views

I want auto create folders in drive but appscript not working. I used ChatGPT

My code: function createFolderInManagedSharedDrives() { var pageToken = null; var pageSize = 100; // Adjust as needed do { var response = Drive.Drives.list({ pageToken: pageToken, ...
Keziban İnan's user avatar
0 votes
0 answers
28 views

How can I access all files and folders in drive using OneDrive API?

I want to get a list of all files and folders in the drive with a single request. I provide this with a recursive function as follows, but as the number of files increases, it becomes impossible to ...
Metehan Kıran's user avatar
-1 votes
1 answer
58 views

Counting comments by sheet wih apps script in Google Sheets

I need to count comments in a Google sheet by author. I used a Google Apps Script library and Drive API, i reached this code: function countCommentsInSheet() { const ss = SpreadsheetApp....
Manuel Ocampo's user avatar
0 votes
1 answer
42 views

How long does generated IDs by Google Drive API lasts / when should they be used?

I was unable to find information on the expiration date of Google Drive IDs in the Google Drive documentation. I need to understand how long I can rely on a generated ID that may not have been used ...
hids's user avatar
  • 1
0 votes
0 answers
14 views

Where are uploaded files to drive by googleapis? Nodejs-Express

I made a project that uses googleapis.google.auth.JWT for authentication and googleapis.google.drive, But when I upload files, I don't find them on my Drive. So, does that process make something like ...
Omar AlHadidi's user avatar
0 votes
0 answers
11 views

How I lock my drive through bit locker, If bitlocker is sending me error while locking drive

Here is the error image How I solve this issue in my pc?
Saad ZIauddin's user avatar
0 votes
1 answer
150 views

SyntaxError: invalid decimal literal (gdrive)

user_interactions_df = pd.read_csv(https://drive.google.com/uc?export=download&id=1WgjXneyZHGQrxrh1maRyPdbXE3J9wp--) ...
Harsh Lokhande 's user avatar
0 votes
0 answers
13 views

Hide network drives with AppleScript

is there a way to do so in as? Background: I don't want to show network drives which are not used from a user. I know how to mount drives tell application "Finder" try set userName to do ...
McProgger's user avatar
0 votes
0 answers
27 views

Is there a way to temporarily block access to a removable drive while my program is scanning it? (C++, Windows)

I have a windows service written in c++ which , on demand, perform an operation (a scan) on a removable drive. My question is, is there way to prevent the user to use the drive yet until my operation ...
anitarazafi's user avatar
0 votes
2 answers
72 views

How can I get link of a folder inside google colaboratory

How can I get the id of the newly created folder. when I run this code on google Colaboratory it just gives me the name of that folder.. not that id.. If you know how to get the link of that folder ...
MD. Muinul Islam's user avatar
0 votes
0 answers
6 views

Cloud server read write access for network drives

When creating new folders on a network drive anyone other than admins or the owner is unable to edit or add folders / files. Is there a way to map it using the same group policy that is mapping the ...
Ben Anderson's user avatar
0 votes
0 answers
19 views

How to use r googledrive to list files in folder that was shared with me?

I can list files in a folder on my drive like so: # folder in My Drive > My_Folder my_folder_url = "https://drive.google.com/drive/u/0/folders/1mrrXtFggFMBynT-pmhHtx264mYn0XaeG" files &...
mandmeier's user avatar
  • 365
1 vote
3 answers
117 views

Looking to write a powershell script to run chkdsk and read results

I am trying to write a powershell script that will run chkdsk to determine if there is an error on the drive. If an error exist then it would run add the parameter /f and tell it to run on the next ...
user1011061's user avatar
0 votes
0 answers
6 views

Sync external drive

I use an external SSD to store my pictures and I have a backup internal HDD on my PC. Everytime I store new pictures or sort the existing ones on my SSD, I have to manually make the same changes on my ...
marciolabio's user avatar
0 votes
0 answers
17 views

How to get parent's ID of files in Shared with me folder in Google Drive using JavaScript

I was trying to fetch files in Shared with me folder and I fetched file name, type, size. But I need parent's ID as well. gapi.client.drive.files.list({ 'q': `sharedWithMe=true`, 'fields': ...
Yudha Putra's user avatar
0 votes
0 answers
47 views

Google drive desktop authentication fail

On one of my machines google drive desktop has stopped working. I have tried the many options here https://support.google.com/drive/answer/2565956?hl=en-GB&co=GENIE.Platform%3DDesktop to no avail. ...
PerceptualRobotics's user avatar
0 votes
0 answers
21 views

Is there any way to get all the changes of the google drive from its beginning in java

Is there any way for getting all the changes of Google Drive from the beginning of the drive and if there is no way please mention it if you have any official documentation also I'm fine. Hi people, I ...
Naveen Tangudu's user avatar
3 votes
1 answer
576 views

Someone else is working in "path" right now excel after saving it on a shared drive in python using to_excel

I have a python script reading, modifying and saving an excel file with several sheets -which works as expected. The file is saved on a shared drive. My save function looks as follow: def save_xls(...
Gaspard's user avatar
  • 31
0 votes
0 answers
46 views

Apps Script projects disappeared

I created a few Apps Script projects and 2 of them disappeared and don't show up on my projects folder... I didn't change the code or anything. I crated the projects and everything worked fine for a ...
André Forte's user avatar
0 votes
1 answer
209 views

How to mount a shared windows drive in a docker container

I have been trying for the last few days to mount a shared windows drive, with credentials (username and password) in a docker Linux container. Can’t get it done!! I have tried volumes, but they don’t ...
Etienne's user avatar
1 vote
1 answer
55 views

Not able to fetch fileSize for few GoogleDrive files using Drive V2 client Library

We are using Google Drive V2 client library to fetch the file size of a document. For few documents we are getting filesize as null even if the file has content in it. Drive service = new Drive....
Adharsha Neel's user avatar
0 votes
0 answers
21 views

I need help identifying where a working Google Apps Script exists. Is there a way to reverse lookup where the deployment exists if I have the ID?

Ok. So long story short, I'm trying to find the location of a WORKING app that was created for my company in the past. The employee that created it no longer works here and I need to find where the ...
Jimbajim's user avatar
0 votes
0 answers
12 views

Cloud program with tables

dear experts in programming and computers. I have one question, I don't know if I can express myself well, but I hope you will understand me. I would like to know if there is some kind of free ...
Sven Nenadić's user avatar
0 votes
0 answers
10 views

Is there any way that I could delete all the data(images) that i uploaded to my google drive through google colab?

For my machine learning project I downloaded more than 10000 images of dogs from kaggles and uploaded it to google drive through colab, now that i don't need those images how can i delete all of them ...
Karan Sapkota's user avatar
0 votes
1 answer
15 views

How to clean a line read from a txt file to match literal string

If I read a line from a txt file with one single line, I can't seem to be able to make that line match a string that litterally is exactly the same this is my code: I've uploaded a text file to ...
Francisco Cortes's user avatar
0 votes
0 answers
30 views

Upload a large file to google drive using java api client library

In my java code I upload a file using google drive api library, when I put a large file I get sometimes error 504: com.google.api.client.googleapis.json.GoogleJsonResponseException: 504 Connection ...
Netx's user avatar
  • 1
0 votes
0 answers
26 views

how to link google drive folder to google CDN bucket folder?

its seems that google devs are very primitive. there is no way to do so. also, I cannot upload any file OR folder from google drive to the bucket. also, I cannot upload files OR folder from my android ...
mr.tee's user avatar
  • 39
0 votes
0 answers
10 views

Migrating Hostlinger Emails with 15 GB Limit Exceeded to Microsoft Account

How can I migrate all my existing and new emails from my Hostlinger account to a Microsoft account after exceeding the 15 GB storage limit?
sandeep kande's user avatar
0 votes
0 answers
24 views

How to fix random string names issue while uploading zip files in Google Colab?

Recently, I had to transfer some large files to Google Drive, and I considered using Google Colab for the task. I wrote a simple Python code for the process. However, while moving the files, I ...
osh's user avatar
  • 1
0 votes
0 answers
98 views

Why can't I download a Kaggle dataset directly to my Google Drive using Colab?

As I am currently trying to work with large amounts of data (500GB) from a Kaggle competition, I want to download it directly to my Google Drive and work on it through Colab. To do this, I increased ...
fehctap's user avatar
0 votes
0 answers
74 views

Rufus Windows-To-Go Failure

I was trying to use Rufus to make a Windows-To-Go drive and I woke up to it "being used by another software" or something along the lines of that. I could see all the windows files ...
user21897066's user avatar
0 votes
0 answers
21 views

How to use smb protocol with Sensetalk

Read a file with sensetalk smb protocol Is this correct? put "username" into username put "password" into password put "server_name" into serverName put "path/to/...
maseyh's user avatar
  • 11
0 votes
0 answers
39 views

HTTP requests to JSON in Google Drive

Do you guys know a way I can make HTTP requests to a JSON storaged in Google Drive? I can do Get with the right link, but, what about POST, PUT and DELETE? Thank you all Drive's link let me do GET but ...
Frank_Perez's user avatar
0 votes
0 answers
147 views

Windows : run script as other user, leave command line open for navigation

I want to run a script as another user, which opens a command line prompt, connects a remote drive (to which I only have access as this other user) using net use, goes to said drive, and then into a ...
Charles's user avatar
  • 1,008
0 votes
1 answer
102 views

How to use "https://www.googleapis.com/auth/drive.file" to minimize permissions?

I'm trying to use the Advanced Drive Service with the scope "https://www.googleapis.com/auth/drive.file" to minimize permissions. My app only accesses files located on my Webapp Google drive,...
David Caradonna's user avatar
0 votes
0 answers
98 views

Accessing Google Drive API from React Native using a Service Account

I have a React Native application that needs to upload and download files on a single Google Drive space with 100GB (not the user's one) I have followed google's documentation to: Setup my project ...
Gabriele Zanelli's user avatar
0 votes
0 answers
42 views

Is it possible to search the fullText via google drive api, which searches in all folders recursively?

When I search via fullText the ami returns null or a folder, Is there a method to say * in parents? The search I'm doing is in a shared folder: 'supportsAllDrives' => 'true', 'fields' => '*', '...
Gabriele Feruglio's user avatar
0 votes
1 answer
153 views

How to copy a folder with all the subfolders from colab to drive?

I need to copy a folder I created in the temporary space of Google Colab to Drive. This is the command %cp Thesis2023 /drive/MyDrive/Thesis2023 Thesis 2023 is the folder I need to copy to drive, but ...
Marco B's user avatar
0 votes
0 answers
25 views

Error on 'git clone' (.git/config: Invalid argument)

When cloning a remote (gitlab) repo to a server which is mapped as a Windows drive, I get the following error: error: opening <repo-path>.git/config: Invalid argument fatal: could not set 'core....
o-sapov's user avatar
  • 320
1 vote
0 answers
24 views

Simulate a Locally Attached USB Drive that passes files to a Network Drive

I've found a lot of posts explaining how to access a USB attached drive over the network, but this is a whole different scenario. I am currently afraid that it can't be done. Our church has a video ...
Howard Parr's user avatar
0 votes
0 answers
10 views

How to add an entry in the window that pops when mounting a USB drive to Windows

I would like to know the means off adding one custom entry to the window that pops out when after clicking in the notification that appears after you connect an external USB drive on Windows. I have ...
digfish's user avatar
  • 317
0 votes
1 answer
214 views

Get path of file in Google Drive

I have a file located at content/drive/Shareddrives/Bla/Bla/Bla/Bla/myfile.py Is there an easy way to get the path of this file ? I can have like 10 subfolders and writing the path manually each time ...
Timothee W's user avatar
1 vote
0 answers
104 views

How do I make use of an external html form to upload two files from two different fileds to google drive and save other form data to google sheets?

I have an html form in local folder and have to submit the data to a google sheet and upload files to google drive. I created google app script and saving data to google sheet correctly, but only one ...
safna's user avatar
  • 21
0 votes
0 answers
203 views

webContentLink obtained with Google Drive API v3, blocked by response when trying to download with JS

I have a small web application (pure HTML and Js), hosted in Firebase Hosting that consume data from some endpoints served from a Firebase Function (node.js & express). The thing is that I need to ...
Leonardo Dimieri's user avatar
0 votes
0 answers
100 views

Insufficient permissions for specified parent when uploading file to personal Google Drive account using Google Drive API in Laravel

I am trying to upload a file to my personal Google Drive account using the Google Drive API from the Google Cloud Console in my PHP Laravel project. I have created a service and granted it the "...
daniel's user avatar
  • 129

1
2 3 4 5
20