Hi Kaynezhang,
Thanks for the reply. Please correct me if I am wrong, but wiki says in order to work with Streaming import the files to be uploaded need to be on the same disk as the Alfresco Server. For me files are on different disk than Alfresco. More over the code snippet shown on the wiki for programmatically achieving streaming import uses Java Foundation API. In order to use Java Foundation API, the client code needs to be bundled in the same alfreso war file.
Currently we have a external batch application that uses CMIS for uploading the pdf file sequentially to Alfresco.Although it works fine but it takes lot of time. I am trying to make the upload more efficient, would appreciate any suggestions thanks.