mirror of
https://github.com/actix/examples
synced 2024-11-28 00:12:57 +01:00
17 lines
303 B
Markdown
17 lines
303 B
Markdown
# Actix Web File Upload with Async/Await
|
|
|
|
### Run
|
|
|
|
```sh
|
|
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
|