1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
examples/forms/multipart-async-std
2021-10-07 03:04:59 +01:00
..
src clippy 2021-10-07 03:04:59 +01:00
.gitignore Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Cargo.toml Restructure folders (#411) 2021-02-26 00:57:58 +00:00
LICENSE Restructure folders (#411) 2021-02-26 00:57:58 +00:00
README.md fix broken links (#441) 2021-10-06 22:28:53 +01:00

Actix Web File Upload with Async/Await

Run

cd forms/multipart-async-std
cargo run

open web browser to localhost:3000 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