Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Python binding not working for the ftp protocol #5183

Open
1 task
yusfad1 opened this issue Oct 15, 2024 · 2 comments
Open
1 task

bug: Python binding not working for the ftp protocol #5183

yusfad1 opened this issue Oct 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@yusfad1
Copy link

yusfad1 commented Oct 15, 2024

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.
@yusfad1 yusfad1 added the bug Something isn't working label Oct 15, 2024
@Xuanwo
Copy link
Member

Xuanwo commented Oct 15, 2024

Hello @yusfad1, thank you for bringing this to our attention. The FTP service has been disabled on the Python side to reduce the binary size. We intend to resolve this issue as outlined here: #4939.

@Xuanwo Xuanwo added enhancement New feature or request and removed bug Something isn't working labels Oct 15, 2024
@yusfad1
Copy link
Author

yusfad1 commented Oct 15, 2024

Hii @Xuanwo, thanks for the updates and for addressing the issue. I understand the need to disable the FTP service to manage the binary size effectively. I look forward to the resolution as detailed in #4939. Please keep me posted on any further developments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants