search

Home  >  Q&A  >  body text

android - OkHttp3 MultipartBody文件数量是否有限制?

使用MultipartBody来给服务器上传文件,有谁知道通过addFormDataPart()方法来添加上传文件,一次Request最多能上传几个文件,或者是最多一次能上传多大的文件。

PHP中文网PHP中文网2810 days ago621

reply all(2)I'll reply

  • 阿神

    阿神2017-04-17 17:41:43

    Although I am not sure about the restrictions, I can tell you about my usage. I have uploaded up to 6 files at a time, each of which is about 2M. Except for using home WIFI and the upload speed is too slow, there are no other situations. Encountered too many problems.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 17:41:43

    I have uploaded 9 original photos, no problem

    reply
    0
  • Cancelreply