# Civetweb API Reference ### ~~`mg_upload( conn, destination_dir );`~~ ### Parameters | Parameter | Type | Description | | :--- | :--- | :--- | |**`conn`**|`struct mg_connection *`|| |**`destination_dir`**|`const char *`|| ### Return Value | Type | Description | | :--- | :--- | |`int`|| ### Description The function `mg_upload()` is deprecated and may be removed from future releases. Use of this function is therefore highly discouraged. ### See Also