If I understand correctly then you’ll want to use akka-http which has support 
for handling multipart/formdata. This has the downside that akka-http is still 
being developed, but you can try out milestone 1.0-M2 to see if that works for 
you.

Regards,

Roland

> 21 jan 2015 kl. 01:52 skrev Yogesh Pandit <yogesh...@gmail.com>:
> 
> ​
> Hello,
> 
> I am using spray-can 1.2.1 and have a service to upload data in chunks.
> 
> It seems to be working fine but for the following boundary data being written 
> to the uploaded file. How can I not write this into the file. Reading the 
> whole file is not an option due to large size.
> I have used the following example - 
> https://github.com/spray/spray/tree/master/examples/spray-can/simple-http-server/src/main/scala/spray/examples
> 
> 
> ------WebKitFormBoundary5mkhOpb3GjmIWL7a
> Content-Disposition: form-data; name="datafile"; filename="file.csv"
> Content-Type: text/csv
> 
> ....<real-data>
> 
> ------WebKitFormBoundary5mkhOpb3GjmIWL7a--
> 
> Thanks you,
> -Yogesh
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
> >>>>>>>>>> <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 
> <mailto:akka-user+unsubscr...@googlegroups.com>.
> To post to this group, send email to akka-user@googlegroups.com 
> <mailto:akka-user@googlegroups.com>.
> Visit this group at http://groups.google.com/group/akka-user 
> <http://groups.google.com/group/akka-user>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe <http://typesafe.com/> – Reactive apps on the JVM.
twitter: @rolandkuhn
 <http://twitter.com/#!/rolandkuhn>

-- 
>>>>>>>>>>      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