mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: IODataConnection.getDataInputStream()
Date Tue, 13 Oct 2009 19:49:43 GMT
On Tue, Oct 13, 2009 at 6:21 AM, Charles Karow <charles@karow.com> wrote:
> I am using ftpserver to provide a standard way for people to upload files to
> a "bucket" on Amazon's S3 service. My users will always be uploading files
> in binary mode. I am using code from Amazon that takes an InputStream and
> uses it to stream the data to Amazon's servers. Amazon's code does not
> expose an OutputStream.
> transferFromClient takes an OutputStream and I do not have access to an
> OutputStream.

Sounds like this could be solved by an adapter stream which gets
written to by DataConnection and is read by S3. Or I might be missing


View raw message