I have a server where files are uploaded, I want them to be sent to s3 using boto, I have to do some data processing mainly, since it is uploaded to s3.
The problem I am facing is the way they load. I need to provide a recordable stream that receives incoming data and load it. I need a readable stream. So itβs as if I have two ends that donβt connect. Is there any way to download s3 writable? If so, it would be easy, and I could pass the download stream to s3, and it would execute the chain.
If not, I have two free ends that I need something in between the buffer that can be read from the load to save this move, and set the read method that I can give boto to read. But by doing this, I am sure that I will need to cut out the s3 boot portion, which I would prefer to avoid as I use twisted.
I have the feeling that I am making the situation much more complicated, but I cannot come up with a simple solution. This should be a common problem, I'm just not sure how to put it in words
source share