rql_download.twistedserver.main.RsetSFTPCommand¶
-
class
rql_download.twistedserver.main.
RsetSFTPCommand
[source]¶ Run SFTP server which will connect to a Cubicweb instance to expose all the CWSearch entities.
Methods
run
()Start the SFTP server. Attributes
options
-
__module__
= 'rql_download.twistedserver.main'¶
-
options
= [('cubicweb-instance', {'default': 'brainomics_inst', 'type': 'string', 'metavar': '<string>', 'help': 'the sftp server will connect to this cubicweb instance.'}), ('unix-username', {'default': 'toto', 'type': 'string', 'metavar': '<string>', 'help': 'the sftp server will read filesystem with the permission associated to this user.'}), ('passphrase', {'default': 'azertyuiop', 'type': 'string', 'metavar': '<string>', 'help': 'passphrase.'}), ('private-key', {'default': 'server_rsa', 'type': 'string', 'metavar': '<string>', 'help': 'filepath to private key.'}), ('public-key', {'default': 'server_rsa.pub', 'type': 'string', 'metavar': '<string>', 'help': 'filepath to public key.'}), ('config-file', {'default': '/home/ag239446/.config/rsetftp', 'type': 'string', 'metavar': '<string>', 'help': 'filepath config file (can be overwritten by commandline).'}), ('base-dir', {'default': '/', 'type': 'string', 'metavar': '<string>', 'help': 'base directory in which file are stored (it acts as mask, so every files outside this base-dir will be invisible).'}), ('port', {'default': 9999, 'type': 'int', 'metavar': '<int>', 'help': 'the sftp server will listen on this port.'})]¶
-