Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2073 from pypeclub/PYPE-1930_Create-SFTP-provider
Browse files Browse the repository at this point in the history
SFTP provider
  • Loading branch information
kalisp authored Oct 1, 2021
2 parents f940a73 + cac3fb8 commit 2f1b0e3
Show file tree
Hide file tree
Showing 13 changed files with 705 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def upload_file(self, source_path, path,
representation (dict): complete repre containing 'file'
site (str): site name
Returns:
(string) file_id of created file, raises exception
(string) file_id of created/modified file ,
throws FileExistsError, FileNotFoundError exceptions
"""
pass

Expand Down
2 changes: 2 additions & 0 deletions openpype/modules/default_modules/sync_server/providers/lib.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from .gdrive import GDriveHandler
from .dropbox import DropboxHandler
from .local_drive import LocalDriveHandler
from .sftp import SFTPHandler


class ProviderFactory:
Expand Down Expand Up @@ -114,3 +115,4 @@ class and batch limit.
factory.register_provider(GDriveHandler.CODE, GDriveHandler, 7)
factory.register_provider(DropboxHandler.CODE, DropboxHandler, 10)
factory.register_provider(LocalDriveHandler.CODE, LocalDriveHandler, 50)
factory.register_provider(SFTPHandler.CODE, SFTPHandler, 20)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2f1b0e3

Please sign in to comment.