[英]Upload file with unknown size
How can I upload a file by Google Drive API If the length is unknown at the time of the request? 如果请求时长度未知,如何通过Google Drive API上传文件? I found this way https://developers.google.com/drive/manage-uploads#resumable but I can't understand how can I say to the server the stream is terminated. 我以这种方式https://developers.google.com/drive/manage-uploads#resumable找到了,但是我不明白如何向服务器说流已终止。
There is additional information here: 这里有更多信息:
https://code.google.com/p/google-api-java-client/wiki/MediaUpload#Resumable_Media_Upload https://code.google.com/p/google-api-java-client/wiki/MediaUpload#Resumable_Media_Upload
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.