A File represents the transfer of a file during a ClientSession, regardless of it’s success.
Field | Type | Description |
---|---|---|
Name | string | The name presented by the client. |
Path | string | The path the file was saved to. |
MIME | string | The MIME type of the file. |
Size | number | The size of the file in bytes. May not always be set. |
TransferSize | number | The total size oneshot has read in/out. |
TransferStartTime | string | The start time of the file transfer. |
TransferEndTime | string | The end time of the file transfer. |
TransferDuration | string | The duration of the file transfer. |
TransferRate | number | The transfer rate in bytes/second. |
Content | string | The base64 encoded content of the file. |