title: Uploading a csv file to ftp without creating a physical file locally
body: <p>I want to create and send a csv file to a remote ftp server,i am using <code>CSVWriter</code> from <code>Apache Commons</code>.</p>
  
  <p>At present, I am creating a local temp file, wrapping this file around an <code>Inputstream</code>, and then uploading this stream to remote ftp server using <code>client.store(&lt;InputStream&gt;,&lt;Filename&gt;)</code> method. The problem here is it is creating a local temp file every time it is executed.<br>
  I want to get rid of this and be able to create a stream, especially csv stream directly. My main idea is to avoid creating a local temp file. </p>