services/sftp: Allow setting control_directory
Open
services/sftp
- Dominant language
- Rust
- Stars
- 5.4k
- Forks
- 825
- Avg merge
- 1d 14m
- Merged PRs (30d)
- 127
Description
https://github.com/apache/incubator-opendal/blob/8315b7e2c9c087ab9b39a1c697aa63e50db99dc9/core/src/services/sftp/backend.rs#L515-L524
We used to set runtime dir as default, but it's not cool.
Contributor guide
Research direction
Read core/src/services/sftp/backend.rs at lines 515-524 to understand how control_directory is currently selected. Confirm how the SFTP backend configuration is exposed, then make the requested setting configurable and verify that the runtime directory is no longer the only available default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100