springml / spark-sftp

Spark connector for SFTP
Apache License 2.0
100 stars 98 forks source link

Issue fetching file from mainframe sftp #28

Closed mshaikiqvia closed 6 years ago

mshaikiqvia commented 6 years ago

We are facing issue fetching mainframe file from sftp only when the files are inside a directory. Since, the mainframe directory drills down with period (.) instead of /, the connector is unable to find the actual file.

Eg: TST.TEST.FILE is in actual //TST//TEST//FILE, the connector is treating TST.TEST.FILE as direct file instead of treating it as file inside the directory path.

samuel-pt commented 6 years ago

Currently this is not supported. May be you can enhance the code and create a PR