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

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

报告相同问题?

悬赏问题

  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来