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

SFTP provider #2073

Merged
merged 10 commits into from
Oct 1, 2021
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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