Added some kind of ftp upload script

This commit is contained in:
Manuel Cortez 2019-11-25 08:42:18 -06:00
parent c19fbf40a0
commit 79f3177a60

12
scripts/upload.py Normal file
View File

@ -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]