Questions tagged [flysystem-google-drive]

50 questions
112
votes
16 answers

accessing "Shared with me" with Colab

I want to get access to the files in the Google Drive's "Shared with me" directory. In the Colab python notebook the following commands: import os from google.colab import drive drive.mount('/content/drive') !ls "/content/drive/My Drive" work well…
7
votes
0 answers

Google drive showing custom UTI files dimmed in UIDocumentBrowserViewController controller

We have created custom UTI of the file type in XML format for our iOS app. It is working fine for all other cloud service provider except for google drive. We are using UIDocumentBrowserViewController and defined our custom UTI in the app.plist…
Pranjal
  • 101
  • 5
6
votes
1 answer

Problem with installing nao-pon/flysystem-google-drive Laravel

I have a problem with installing nao-pon/flysystem-google-drive When I run the command, composer requires nao-pon/flysystem-google-drive or nao-pon/flysystem-google-drive:~1.1 I get the error like this: Your requirements could not be resolved to an…
5
votes
3 answers

How to read google spreadsheet using google colab

We can list out spreadsheet present in google drive using below command from google.colab import drive drive.mount('/content/drive') !ls -l /content/drive/'Shared drives' but unable to read spreadsheet using below command import gspread from…
4
votes
2 answers

Modifying .py files in Google Colab does not take effect

I was using Google Colab mounted with Google Drive to run some demos. But I got a problem that once that I modified the .py files in my Google Drive, I use !google-drive-ocamlfuse -cc to empty the cache to see the changes. Now I could see that the…
3
votes
1 answer

How to enforce unique filenames on Google Drive?

I'm using Google Drive to serve as a central place for various scripts to store common files. However, I've noticed that despite pretending to function like a filesystem, Google Drive does not observe normal filesystem conventions, such as enforcing…
Cerin
  • 60,957
  • 96
  • 316
  • 522
2
votes
1 answer

Find the mapped google drive

If (!(Get-PSDrive R -PSProvider FileSystem -ErrorAction SilentlyContinue)) { #this function checks for the latest exe of google drive. Then tries to start it. Import-Module…
dcaz
  • 847
  • 6
  • 15
2
votes
1 answer

Get file from GoogleDrive without downloading it to storage - Python

I have a python-script running on a server and I need to get a json-file from my GoogleDrive. I want to use the GoogleDrive API to get the file, which I know the name, location and ID of but I only could find code-samples which downloads the file to…
benicamera
  • 750
  • 1
  • 7
  • 24
2
votes
2 answers

Downloading files to google drive using beautifulsoup

I need to downloading files using beautifulsoup to my googledrive using a colaboratory. I´m using the code below: u =…
2
votes
0 answers

How to make a node.js project in Google Drive Filestream

I am trying to create a vue project on Google Drive Stream (windows10) but I cannot. $ cd G:\MyDrive\webdata\sample-app $ vue init simulatedgreg/electron-vue sample-app After this command, I input Enter to every questions from vue. Then following…
user4565857
  • 155
  • 1
  • 2
  • 9
2
votes
3 answers

Download file from Google Drive with PowerShell

In trying to download a file with PowerShell I have the following $client = new-object System.Net.WebClient $client.DownloadFile($AGRIDATAMISCURL,$TESTAGRIDATAMISCZIP) Where $AGRIDATAMISCURL is a URL that looks like…
Kevin Burton
  • 133
  • 1
  • 1
  • 8
1
vote
0 answers

"upload was unsuccessful,request contained no data" while trying to upload a folder to google drive- Android application

I am trying to share a folder in my mobile device to google drive .But I am getting the error upload was unsuccessful,request contained no data google drive from mobile app I could share the folder through whatsapp without any issues. My Code- File…
1
vote
1 answer

sync google drive folder algorithm

let say the source folder is Folder A. The target folder is Folder B. Each time period (maybe 1 day), delete folder B and I use programming copy Folder A to Folder B using recursion. I am doing this since this is the most simple way. But this method…
1
vote
1 answer

Python cannot make changes to the files saved in the Google Drive File Stream

I am going to using Python to rename some files that are saved in the local Google Drive File Stream. The os.listdir can find all the files in a given folder. But os.rename cannot be performed, because of the error: "FileNotFoundError: [WinError 3]…
jwm
  • 4,832
  • 10
  • 46
  • 78
1
vote
1 answer

Running python script on database file located in google drive

I have a database file which is located on my own google drive (private) and it's updated on a daily basis. I wrote a python script in order to track the data from the database file, however I need to download the DB file to my pc, and then running…
Alina
  • 25
  • 7
1
2 3 4