Posts by elton fernando • 1 point
1 post
-
-2
votes1
answer250
viewsA: How to upload file to FTP server in Python?
Reference link here import ftplib ftp = ftplib.FTP("192.168.2.222") ftp.login("test", "123qwe") localfile='/tmp/test.txt' remotefile='test.txt' with open(localfile, "rb") as file:…