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.

-Charles


Niklas Gustavsson wrote:

On Mon, Oct 12, 2009 at 6:15 PM, Charles Karow <[email protected]> wrote:
I have written a  special-purpose, upload-only server by writing my own
implementation of the STOR command, and I need access to the input stream of
the data connection so I can process the incoming file. I prefer not to
complete an implementation of my own file system -- for what I am doing,
that would be much too complex and is not needed.

Could you go into detail why the transferFromClient method is not
applicable for your use case?

/niklas

Reply via email to