Commit 4955986c authored by Manuel Cortez's avatar Manuel Cortez

Modified FTP upload script

parent aacaa528
Pipeline #748 failed with stage
in 7 minutes and 25 seconds
......@@ -38,7 +38,7 @@ connection = ftplib.FTP(ftp_server)
print("Connected to FTP server {}".format(ftp_server,))
connection.login(user=ftp_username, passwd=ftp_password)
print("Logged in successfully")
if version not in connection.nlst():
print("Creating version directory {} because does not exists...".format(version,))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment