-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
17 lines (10 loc) · 763 Bytes
/
README
File metadata and controls
17 lines (10 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SFTP/FTP loader that looks for new files
usage:
For FTP session:
python load_sftp.py --host=<host> --user=<user> --password=<password> --remote_dir=<remote dir> --local_dir=out --history_file=custom_history --debug=DEBUG
For SFTP session:
python load_sftp.py --host=<host> --user=<user> --password=<password> --remote_dir=<remote dir> --local_dir=out --history_file=custom_history --debug=DEBUG --protocol=scp
For SFTP session publickey authorization:
python load_sftp.py --host=<host> --user=<user> --password=<password> --remote_dir=<remote dir> --local_dir=out --history_file=custom_history --debug=DEBUG --protocol=scp --pkey
lib should contain paramiko lib
pkeys - could contain keys and known_hosts file otherwise client will use ~/.ssh directory