upload_file
Uploads a file to a remote location and returns the remote URI.
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 file path to upload. |
| verify | bool = True | Whether to verify the certificate for HTTPS requests. |
| fname | `str | None` = None |
Returns
| Type | Description |
|---|---|
Tuple[str, str] | Tuple of (MD5 digest hex string, remote native URL). |