New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问是否能获取下载失败的原因? #98

Closed
yanyiqun001 opened this Issue Aug 23, 2017 · 7 comments

Comments

Projects
None yet
2 participants
@yanyiqun001

yanyiqun001 commented Aug 23, 2017

No description provided.

@AriaLyy

This comment has been minimized.

Owner

AriaLyy commented Aug 23, 2017

目前没有这个api,只能在控制台查看

@yanyiqun001

This comment has been minimized.

yanyiqun001 commented Aug 23, 2017

是这样的,我的下载地址不是指向一个文件,而是一个流,访问这个地址下载大部分是失败的,偶尔可以= =,而我用HttpUrlConnection读取流数据写入文件的方式是没问题的,不知道原因在哪

@AriaLyy

This comment has been minimized.

Owner

AriaLyy commented Aug 23, 2017

指向流式什么意思,302跳转吗?

@yanyiqun001

This comment has been minimized.

yanyiqun001 commented Aug 23, 2017

就是文件在另一个服务器上,服务端把文件的输出流写到这个地址了,我访问这个地址下载文件

@AriaLyy

This comment has been minimized.

Owner

AriaLyy commented Aug 23, 2017

能否提供一下地址?

@yanyiqun001

This comment has been minimized.

yanyiqun001 commented Aug 23, 2017

不好意思有点不方便了~因为还需要传递cookie的

@AriaLyy

This comment has been minimized.

Owner

AriaLyy commented Aug 23, 2017

那到时候增加一个获取错误的api吧

AriaLyy added a commit that referenced this issue Aug 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment