我有一个网络应用程序,我希望用户能够从他们的计算机添加文件并将其上传到我的谷歌驱动器.我有选择文件按钮工作,但我不知道该功能应该如何访问我的谷歌驱动器帐户,并通过单击按钮发送文件.
<h4>Upload a file:</h4>
<div class="form-group">
<input type="file" id="fileInput" name="fileInput"/>
</div><br>
Run Code Online (Sandbox Code Playgroud)
我将它放在infowindow中,我能够从用户的计算机中搜索并选择一个文件.我真的只是寻找JS功能将其发送到我的谷歌驱动器.任何帮助,将不胜感激.