I need to transfer files from Rpi to my computer. Rpi is connected to my computer with wifi. The FileZilla server is logged in into. But in the terminal when I run the FTPlib file I get this error: " socket.error: [Errno 111] Connection refused
import ftplib
server = '127.0.0.1'
username = 'localhost'
password = 'hello123'
ftp_connection = ftplib.FTP(server, username, password)
remote_path = "C:\Users\sai\Desktop\ImageS"
ftp_connection.cwd(remote_path)
fh = open("/home/pi/Desktop/ImageS/test.txt", 'rb')
ftp_connection.storbinary('STOR test.txt', fh)
fh.close()