You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2018. It is now read-only.
how I could know when all the files have been finished uploading
or how to know how many files are beeing uploading
int fileCount = ??;
int i;
final Object obj = new Object();
req.uploadHandler(new Handler() { @OverRide
public void handle(HttpServerFileUpload event) {
upload.streamToFileSystem(...);
i++;
if(fileCount == i)
obj.notify();
}
});
synchronized(obj){
obj.wait();
}
//all the files has been finished uploading