2015-10-02 03:24:38 +02:00
|
|
|
---
|
|
|
|
title: Streaming File Upload
|
|
|
|
menu:
|
2015-10-08 22:54:31 +02:00
|
|
|
side:
|
2015-10-02 03:24:38 +02:00
|
|
|
parent: recipes
|
2015-10-08 22:54:31 +02:00
|
|
|
weight: 8
|
2015-10-02 03:24:38 +02:00
|
|
|
---
|
2015-06-30 21:10:35 +02:00
|
|
|
|
|
|
|
- Streaming multipart/form-data file upload
|
|
|
|
- Multiple form fields and files
|
|
|
|
|
2015-10-08 02:04:51 +02:00
|
|
|
### Server
|
2015-07-03 08:21:21 +02:00
|
|
|
|
2015-06-30 21:10:35 +02:00
|
|
|
`server.go`
|
|
|
|
|
2015-10-08 22:54:31 +02:00
|
|
|
{{< embed "streaming-file-upload/server.go" >}}
|
2015-06-30 21:10:35 +02:00
|
|
|
|
2015-10-08 02:04:51 +02:00
|
|
|
### Client
|
2015-07-03 08:21:21 +02:00
|
|
|
|
2015-06-30 21:10:35 +02:00
|
|
|
`index.html`
|
|
|
|
|
2015-10-08 22:54:31 +02:00
|
|
|
{{< embed "streaming-file-upload/public/index.html" >}}
|
2015-06-30 21:10:35 +02:00
|
|
|
|
2015-10-08 02:04:51 +02:00
|
|
|
### Maintainers
|
2015-10-08 00:41:15 +02:00
|
|
|
|
2015-10-08 22:54:31 +02:00
|
|
|
- [vishr](https://github.com/vishr)
|
2015-10-08 00:41:15 +02:00
|
|
|
|
2016-03-05 21:13:24 +02:00
|
|
|
### [Source Code](https://github.com/vishr/recipes/blob/master/echo.v1/streaming-file-upload)
|