bug: Python binding not working for the ftp protocol
- Dominant language
- Rust
- Stars
- 5.4k
- Forks
- 825
- Avg merge
- 1d 14m
- Merged PRs (30d)
- 127
Description
### Describe the bug
I tried to connect to an ftp server using apache opendal version `0.45.10` but it seems that the FTP scheme still not supported in the python binding
### Steps to Reproduce
I tried to connect to the server using the Operator from Opendal:
```
from opendal import Operator
op = Operator(scheme="ftp", endpoint="...", user="...", password="..")
```
I got this error:
```
---------------------------------------------------------------------------
UnsupportedError Traceback (most recent call last)
----> [1]( op = Operator(scheme="ftp", endpoint=".....", user="....", password="....")
UnsupportedError: Unsupported (permanent) at , context: { scheme: ftp } => scheme is not enabled or supported
```
### Expected Behavior
Should connect successfully to an FTP server
### Additional Context
_No response_
### Are you willing to submit a PR to fix this bug?
- [ ] Yes, I would like to submit a PR.
Contributor guide
Research direction
Start by reproducing the failure with the Python `Operator` entry point using `scheme="ftp"`, then trace how supported schemes are exposed to the Python binding. Done means the same construction succeeds and can connect to an FTP server; add or update coverage if the repository has a relevant binding test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100