You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2016/07/28 09:51:20 UTC

[jira] [Created] (FILEUPLOAD-276) in FileItemStream.openStream() make ItemInputStream visible for "resume"

Ralf Hauser created FILEUPLOAD-276:
--------------------------------------

             Summary: in FileItemStream.openStream() make ItemInputStream visible for "resume"
                 Key: FILEUPLOAD-276
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-276
             Project: Commons FileUpload
          Issue Type: Improvement
    Affects Versions: 1.3.2
         Environment: debian stable, java8
            Reporter: Ralf Hauser
            Priority: Minor


With large files and unstable connections ("resume") it would be great to find out whether the stream is already at the end or whether it stopped for some other reason.

This way I could use the "getBytesRead()" method to easily see how much is read.

And maybe it would also tell me whether it can already see in its buffer the ending boundary or already got to there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)