Skip to content

Implement Put, Mkdir, Rmdir and file upload functionality for Shade b…#1

Open
bfan1256 wants to merge 9 commits intomasterfrom
rclone-upload
Open

Implement Put, Mkdir, Rmdir and file upload functionality for Shade b…#1
bfan1256 wants to merge 9 commits intomasterfrom
rclone-upload

Conversation

@bfan1256
Copy link

This implements the ability to upload from the Shade rclone

…ackend

- Added Put function that creates temporary object and delegates to Update
- Implemented Mkdir to create directories via POST to /fs/mkdir endpoint
- Implemented Rmdir to remove directories via POST to /fs/delete endpoint
- Added comprehensive Update method with single and multipart upload support
- Implemented uploadSingle for files smaller than chunk size
- Implemented uploadMultipart for larger files with configurable chunk size
- Added configurable chunk_size option (default 64MB, min 5MB, max 5GB)
- Added proper error handling and abort functionality for failed uploads
- Follows patterns from existing backends (B2, Wasabi) and Shade client code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants