Skip to content
Discussion options

You must be logged in to vote

You should rather check if the copy() was processing some data.

You can also ask the source (url) if there is some data available, but you might need to add some small delay to make sure that some data is made available....

The URLStream also provides the info about the contentLength and total read...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@weirdorr
Comment options

@weirdorr
Comment options

@pschatzmann
Comment options

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants