Hi Soumya,

Yes, that can definitely be achieved.

I've pulled some code out from a test and put it in a gist here 
https://gist.github.com/bantonsson/881f831db93ec474f9bd

There is a fair ammount of scaffolding, including creating a binary blob file 
and uploading it to the server via curl.

The real action is in the methods loadSimpleForm and readBlob. The code for 
setting up the server is in withHttpServer.

Hope this helps.

B/

On 28 February 2015 at 01:35:42, Soumya Simanta (soumya.sima...@gmail.com) 
wrote:

I've a very large file (few GBs) that I want to stream into my application 
using a browser-based interface (HTTP) 

One possible solution is to use Play with Iteratee. 

I was wondering if that can be achieved with current implementation of 
akka-streams/akka-http? 

If someone can point to a recipe to get started with this I would appreciate 
that. 

Thanks
-Soumya

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
--
Björn Antonsson
Typesafe Inc. – Reactive Apps on the JVM
twitter: bantonsson

JOIN US. REGISTER TODAY!
Scala
Days
March 16th-18th,
San Francisco

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to