Hi im trying to code a discord bot that can upload files to a winscp ftp but i cant even establish a connection to the server. Here is the code im using (password, username and ip are not the actual im using).
from ftplib import FTP
# Connect and login at once
with FTP(host='123.456.78.900', user='user', passwd='password') as ftp:
print(ftp.getwelcome())
when i run the codei get this error TimeoutError: [WinError 10060]
any help is greatly appreciated