Fixed upload script

This commit is contained in:
2020-06-29 10:12:14 -05:00
parent e3db177d1a
commit cb084faf85
2 changed files with 2 additions and 6 deletions

View File

@@ -44,6 +44,7 @@ print("Uploading files to the Socializer server...")
connection = ftplib.FTP_TLS(ftp_server)
print("Connected to FTP server {}".format(ftp_server,))
connection.login(user=ftp_username, passwd=ftp_password)
connection.prot_p()
print("Logged in successfully")
connection.cwd("socializer.su/static/files/")
if version not in connection.nlst():