tus / tus-java-client

The tus client for Java.
https://tus.io
MIT License
213 stars 88 forks source link

If one file is upload fail, how can i handle it? #40

Closed YOUNG00011 closed 1 year ago

YOUNG00011 commented 3 years ago

If one file is upload fail, how can i handle it? ReUpload? how? Where is the judging condition? PLZ, help me!

Acconut commented 3 years ago

Sorry, I do not understand your question. Please elaborate a bit more.

YOUNG00011 commented 3 years ago

i mean whether there is a call back method or function to let you know that the file you upload is uploaded successfully or not, if upload fail, how can we know, so we can upload again. Really thanks for replying. I really wanna know how to deal with it.

------------------ 原始邮件 ------------------ 发件人: "tus/tus-java-client" <notifications@github.com>; 发送时间: 2021年1月23日(星期六) 凌晨1:10 收件人: "tus/tus-java-client"<tus-java-client@noreply.github.com>; 抄送: "Iam_akid"<1986081849@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [tus/tus-java-client] If one file is upload fail, how can i handle it? (#40)

Sorry, I do not understand your question. Please elaborate a bit more.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Acconut commented 3 years ago

The TusExecutor class provides tools to help with handling errors and starting reuploads. Please see the example for more details: https://github.com/tus/tus-java-client#usage

Acconut commented 1 year ago

Closing this issue due to inactivity. Feel free to leave a comment if you want to continue the discussion :)