1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/forms/multipart
2022-07-12 01:08:56 +01:00
..
src Use captured args in format string (#558) 2022-06-08 03:53:38 +01:00
.gitignore Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Cargo.toml bump futures-utils to 0.3.17 2022-07-12 01:08:56 +01:00
LICENSE Restructure folders (#411) 2021-02-26 00:57:58 +00:00
README.md format markdown 2022-03-06 00:43:10 +00:00

Actix Web File Upload with Async/Await

Run

cd forms/multipart
cargo run

open web browser to localhost:8080 and upload file(s)

Result

file(s) will show up in ./tmp in the same directory as the running process

Note: this is a naive implementation and will panic on any error