2017-06-23 40 views
0

我的应用程序需要大量文件(> = 20GB)才能上传到服务器。我们可以暂停并恢复通过http进行的上传吗?是否可以暂停和恢复http文件上传?

我正在使用Django来构建我的应用程序。

+0

这可能会帮助你:https://github.com/juliomalegria/django-chunked-upload&https://stackoverflow.com/questions/8249042/uploading-large-files-with -python-django –

回答

1

也许你可以将文件拆分成块并上传它们?看看这个:https://gist.github.com/nbari/7335384

+0

是的,我正在使用resumable.js以块的形式上传文件,并在连接丢失或暂停时继续上传。 –