Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-769

Upload blob from stream

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: jclouds-blobstore
    • Labels:

      Description

      Dear Developers,
      It was not easy, but using S3 API, it was possible to upload a large blob from stream - without knowing its size in advance (and storing all the data locally). I found solutions using jclouds' aws-s3 specific API (some async interface), but I really miss this feature from jclouds' general API.
      My dream is to have a method like:
      blob.getOutputStream() into which I can write as many data as I want,
      which pushes data to the storage simultaneously until I close the stream.
      (When I used S3, I created a wrapper class extending OutputStream, which initiates multipart upload, buffers data written to the output stream, writes a part when the buffer is full, and finalizes multipart upload on stream close.)
      I don't know it is possible for all providers, but I really miss it...
      Thank you,
      Akos Hajnal

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ahajnal Akos Hajnal
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: