Initiate an upload of a local file to bucket/key.
bucket/key
Returns the requestId (UUID v4) immediately. The actual upload runs in a background Rust task. Listen for progress and state updates via:
requestId
const unlisten = await listen<TransferProgressPayload>( "transfer:progress", (event) => { if (event.payload.requestId === requestId) { ... } }); Copy
const unlisten = await listen<TransferProgressPayload>( "transfer:progress", (event) => { if (event.payload.requestId === requestId) { ... } });
On success the backend also emits objects:updated { profileId, bucket, prefix } so the frontend can invalidate the adapter cache for the affected prefix.
objects:updated { profileId, bucket, prefix }
The profile whose credentials to use.
The destination bucket name.
The S3 object key to create or replace.
Local filesystem path of the file to upload.
The requestId to correlate progress/state events.
Initiate an upload of a local file to
bucket/key.Returns the
requestId(UUID v4) immediately. The actual upload runs in a background Rust task. Listen for progress and state updates via:On success the backend also emits
objects:updated { profileId, bucket, prefix }so the frontend can invalidate the adapter cache for the affected prefix.