-
Notifications
You must be signed in to change notification settings - Fork 17
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
FTP_TLS error "extra keyword arguments given" on Pico W (RP2) port #18
Comments
Please remove the wrapping of the code in a |
Thx for your answer |
Which Micropython port are you using? Unix, stm32, esp2866, esp32, etc. ? |
The Pico W port is unfortunately not supported yet, since I don't have a Pico W board to test against. The API of the You can try whether the variant for the ESP boards in the Alternatively, you can try changing lines 77-80 of wrapped = ssl.wrap_socket(sock,
keyfile=self.keyfile,
certfile=self.certfile) i.e. remove the P.S.: If someone would sponsor me by sending me a Pico W board, I could "officially" support the Pico W port 😀 |
I changed the lines 77-80 of the ftplibtls.py but the result is the same :( |
Try removing the Note: of course this means that no certificate validation will take place, which partly defeats the purpose of using TLS. So use at your own risk! |
I allready tried to remove all argumentsand it's working |
I can connect to my FTPS server but I can't list the files of my directory |
This seems to be another incompatibility of the I can only repeat: the RP2 is not supported and unless I can get my hands on a Pico W board, I can do nothing about it. I suggest looking for help on the MicroPython forum until then: |
Thx |
I finally got my hands on a Raspberry Pi Pico W board and I believe this issue is now fixed and FTP over TLS also works on the @JMFUS I would appreciate if you could test this and confirm that it works for you. Please see the README for usage notes. |
Hi |
Assuming this to be fixed by 6c19a84. Feel free to re-open, if the error persists with the latest version of the code in this repo. If you have any other problems using this on the PR2 (or any other) port, please open a new ticket. |
Hello
Here is my code :
But I have the following error on the login line :
Erreur FTPS : extra keyword arguments given
Someone can help me?
Thx
The text was updated successfully, but these errors were encountered: