upload_file
Uploads a file to a remote location and returns the remote URI.
@syncify
async def upload_file(fp: Path, verify: bool = True, fname: str | None = None) -> Tuple[str, str]: ...
Uploads a file to a remote location and returns the remote URI.
Parameters
| Name | Type | Description |
|---|---|---|
| fp | Path | The local file system path of the file to be uploaded. |
| verify | bool = True | Whether to verify the SSL certificate for HTTPS requests during the upload process. |
| fname | `str | None` = None |
Returns
| Type | Description |
|---|---|
Tuple[str, str] | Tuple of (MD5 digest hex string, remote native URL). |