]> git.proxmox.com Git - ceph.git/blob - ceph/src/civetweb/docs/api/mg_upload.md
buildsys: switch source download to quincy
[ceph.git] / ceph / src / civetweb / docs / api / mg_upload.md
1 # Civetweb API Reference
2
3 ### ~~`mg_upload( conn, destination_dir );`~~
4
5 ### Parameters
6
7 | Parameter | Type | Description |
8 | :--- | :--- | :--- |
9 |**`conn`**|`struct mg_connection *`|Connection on which files to upload|
10 |**`destination_dir`**|`const char *`|The destination directory to upload to|
11
12 ### Return Value
13
14 | Type | Description |
15 | :--- | :--- |
16 |`int`|Success or error code|
17
18 ### Description
19
20 The function `mg_upload()` is deprecated and may be removed from future releases. Use of this function is therefore highly discouraged.
21
22 ### See Also