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

13 次查看(过去 30 天)
Is it possible to list the files I have in a Google Drive folder using the dir command and the URL?

回答(1 个)

Cris LaPierre
Cris LaPierre 2020-3-15
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 个评论
Martina Sciola
Martina Sciola 2020-3-16
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 2020-3-16
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Google 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by