mirror of
https://github.com/actix/examples
synced 2024-11-24 06:43:00 +01:00
8186a8cfea
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru> Co-authored-by: Altug Sahin <altugsahin@gmail.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
17 lines
317 B
Markdown
17 lines
317 B
Markdown
# Actix Web File Upload with Async/Await
|
|
|
|
### Run
|
|
|
|
```bash
|
|
cd forms/multipart
|
|
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
|