Can I list files in my Google Drive folder from the web?

1 view (last 30 days)
Is it possible to list the files I have in a Google Drive folder using the dir command and the URL?

Answers (1)

Cris LaPierre
Cris LaPierre on 15 Mar 2020
No, at least not that simply. It's quite a process to connect to google drive from MATLAB. Here's a question I asked just trying to write a file to google drive.
  2 Comments
Martina Sciola
Martina Sciola on 16 Mar 2020
Thanks for this. So if I enable the API as shown in the other answer, would it be possible to use the command dir to list files in Google Drive? Or are there extra steps?
Cris LaPierre
Cris LaPierre on 16 Mar 2020
From what I had to do, it appears all queries have to be made using webwrite. I suspect, then, that any results would have to be read using webread. See this google api reference page for what a standard query looks like.
This isn't an aread where I know what i'm doing (hence my post asking for help), so I should probably let others who know more answer from here.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!