Traceback (most recent call last):įile "C:\Users\bbartling\Desktop\ftp_client\client_side_push.py", line 20, in įile "C:\Python39\lib\ftplib.py", line 498, in storbinary Any tips appreciated not a lot of Linux wisdom here on how to verify file permissions. Any tips appreciated this is the traceback that almost seems like a file or directory permissions error. In the Python script I have the port number commented out and the username/password is the user Ubuntu Linux user currently running on the Linux instance. Python 3.9 from Windows 10: from ftplib import FTP
I am sort of lost on what I would use for the FTP server authentication as well as the port number to specify that the FTP server is running on. On the client side which is a Windows 10 machine on LAN with the Ubuntu instance I have this Python file to try and push the CSV file to the FTP server running on the Ubuntu instance.
Rsa_private_key_file=/etc/ssl/private/vsftpd.pem Rsa_cert_file=/etc/ssl/private/vsftpd.pem On the linux side I have the settings exactly like the tutorial states when going thru modifying the vsftd config file with nano: listen=NO I am experimenting with this tutorial to setting up an FTP server on an Ubuntu 20.04 instance and seeing if I can push a CSV file to it from a Windows 10 instance with Python.