Did someone succeeded using tap-sftp? Trying to un...
# plugins-general
o
Did someone succeeded using tap-sftp? Trying to understand if there's a specific file format it is looking for and if not understand what it is failing for me
d
The closest thing to an example
config.json
I've been able to find in the repo is this one here: https://github.com/singer-io/tap-sftp/blob/master/tap_sftp/stats.py#L3-L18
Judging by https://github.com/singer-io/tap-sftp/blob/master/tap_sftp/discover.py#L16, that's expected to be the contents of the
files
config key, to be set alongside these connection config keys: https://github.com/singer-io/tap-sftp/blob/master/tap_sftp/__init__.py#L12
It looks like you're going to have to read some more of the source to figure out exactly what
tables
config should look like
o
I think in your first comment it is an example of the state
d
Ah you may be right...
discover.py
suggest that the
tables
config would have
table_name
and
key_properties
keys
o
Not sure what they mean by key_properties
d
Neither am I 😞
o
Thanks for the help, I'll keep invetigating
t
Some of the other taps use smart_open, which supposedly can open files stored on an SSH server. https://github.com/retentionscience/tap-s3-csv