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

Disable passive mode #555

Open
kruserr opened this issue Aug 18, 2021 · 1 comment
Open

Disable passive mode #555

kruserr opened this issue Aug 18, 2021 · 1 comment

Comments

@kruserr
Copy link

kruserr commented Aug 18, 2021

Hello,

I find myself running behind a firewall where only ports 20-21 are available.
I am using pyftpdlib 1.5.6 and python ftplib as the client.

Attempting to send data to the server i get the following error.

Passive data channel timed out.

I found that forcing the client to use active mode solves the issue

ftp.set_pasv(False)

However i would like to not have my clients forced to disable passive mode themselves, and rather disable it on the server.

How would one achieve this.

@ExtraMobs
Copy link

ExtraMobs commented Oct 5, 2022

I has the same problem :D

edit1: i was using socket lib so their error is getting my ipv4, and the error always varies from case to case, i thought it was something from 'pyftplib'.

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

No branches or pull requests

2 participants