Added some kind of ftp upload script
This commit is contained in:
parent
c19fbf40a0
commit
79f3177a60
12
scripts/upload.py
Normal file
12
scripts/upload.py
Normal 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]
|
Loading…
Reference in New Issue
Block a user