duandu1049 2013-06-28 14:02
浏览 28
已采纳

是否可以直接在特定的Google云端硬盘中上传文件?

I have a client that needs a file upload form on their site, and they want the files to be uploaded directly to their Google Drive. I want to know if it is possible to do or if I am fooling myself with this. I have already searched a little on the internet and also tested some things, but everything I run into just let me select a file from the visitor's Drive and it requires an authentication to proceed (obviously).

What I want to do is put a file upload form which will upload the file to my PHP script, and then, the PHP script will put the given file in my client's Drive. Is this possible in any way? And if so, could you point me in the good direction? If it is not possible, I will simply suggest another solution to my client.

I have already downloaded the Google Drive SDK and looked a little though it, so there's no need to start from the beginning with me.

Thank you

  • 写回答

1条回答 默认 最新

  • dongshi7350 2013-06-28 14:11
    关注
    Hi Jonathan,
    
    You have to use google api surly you can upload files directly to drive
    you can refer below link:
    [google drive api ][1]
    
    
    
    

    and you can also get working example from https://github.com/eduardocasas/Google-Drive-PHP-API-Simple-App-Example

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作