I am trying to use the python library "ftplib". I am able to connect to the FTP server on my MacBook just fine, using the finder settings under "Go --> Connect to Server..."
When I use ftplib in a jupyter notebook it is returning the error message:
error_perm: 530 Login or password incorrect!
Here is my code:
from ftplib import FTP
ftp = FTP(host='ipaddress', user='myusername', passwd='mypassword')
where host is the ip address of the FTP server and user is my username and passwd is the password I was given. Thank you for any help.