Skip to content
Snippets Groups Projects
filetransfer.py 294 B
"""
SFTP class for downloading files from the server, useless in production
"""
import subprocess


# TODO: with pysftp

class FileTransfer:

    def connect(self, user, host, password):
        user_host = [user, host]
        subprocess.Popen(user_host)

    def file(self):
        return 0