Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sftp support #3

Merged
merged 1 commit into from
Jun 17, 2016
Merged

Add sftp support #3

merged 1 commit into from
Jun 17, 2016

Conversation

GRbit
Copy link
Contributor

@GRbit GRbit commented Jun 17, 2016

changes for adapting ssh/sftp fron netangels

  1. Change db_init.py to save sftp_connection info
  2. Changed initSession and initCallback to work with sftp sessions
  3. Add paramiko to requirements
  4. Add sftp_controller (cosmetic changes in other controllers)
  5. Add baseWorkerSsh (changed MainWorkerCustomer)
  6. Add lib/SSH and lib/FileManager/SSHConnection
  7. Reworkerd BaseWorkerSsh
    BaseWorkerSsh =>
    BaseWorkerCustomer
    + lib/SSH/sftp
    + lib/SSH/ssh
    + lib/FileManager/SFTPConnection.py
  8. Add methods for copy between sftp and local/ftp

Other changes:
1. Slightly rework controllers. Now all the techniques that are used in the controller are in their respective folders
2. Add progress_helper to local and ftp workers
3. Remove sodomy in workers/local/createCopy.py
4. Add get_archive_type() in workers/local/createArchive.py

changes for adapting ssh/sftp fron netangels

1. Change db_init.py to save sftp_connection info
2. Changed initSession and initCallback to work with sftp sessions
3. Add paramiko to requirements
4. Add sftp_controller (cosmetic changes in other controllers)
5. Add baseWorkerSsh (changed MainWorkerCustomer)
6. Add lib/SSH and lib/FileManager/SSHConnection
7. Reworkerd BaseWorkerSsh
    BaseWorkerSsh =>
        BaseWorkerCustomer
        + lib/SSH/sftp
        + lib/SSH/ssh
        + lib/FileManager/SFTPConnection.py
8. Add methods for copy between sftp and local/ftp

Other changes:
    1. Slightly rework controllers. Now all the techniques that are used in the controller are in their respective folders
    2. Add progress_helper to local and ftp workers
    3. Remove sodomy in workers/local/createCopy.py
    4. Add get_archive_type() in workers/local/createArchive.py
@Grey2k Grey2k merged commit b996a94 into master Jun 17, 2016
@Grey2k Grey2k deleted the sftp branch June 17, 2016 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants