Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (26 sloc) 713 Bytes

+++ title = "File Upload Recipe" description = "File upload recipe for Echo" [menu.main] name = "File Upload" parent = "cookbook" +++

How to upload a single file with parameters?

Server

server.go

{{< embed "file-upload/single/server.go" >}}

Client

index.html

{{< embed "file-upload/single/public/index.html" >}}

How to upload multiple files with parameters?

Server

server.go

{{< embed "file-upload/multiple/server.go" >}}

Client

index.html

{{< embed "file-upload/multiple/public/index.html" >}}

Source Code

  • [single]({{< source "file-upload/single" >}})
  • [multiple]({{< source "file-upload/multiple" >}})

Maintainers