From 79f3177a6042bcda1b7e5e5c5923e52905228dd7 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Mon, 25 Nov 2019 08:42:18 -0600 Subject: [PATCH] Added some kind of ftp upload script --- scripts/upload.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scripts/upload.py diff --git a/scripts/upload.py b/scripts/upload.py new file mode 100644 index 0000000..b55adb9 --- /dev/null +++ b/scripts/upload.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python +""" Upload socializer to the ftp server. """ +import os +import sys +import ftplib + +ftp_server = sys.argv[1] +ftp_username = sys.argv[2] +ftp_password = sys.argv[2] +source_file = sys.argv[3] +dest_file = sys.argv[4] +version = sys.argv[5]