Source: factory.import/ObjDataImportSftp.py
SFTP transport wrapper for data import.
Downloads a remote file via SFTP, then delegates
to the format-specific importer based on the file
extension.
| Method | Signature | Description |
|---|---|---|
| prep_file | prep_file(filename: str) -> str |
Parse the SFTP URI or set remote path. |
| open_file | open_file(filename: str) -> None |
Download from SFTP, then delegate to format handler. |
| close_file | close_file() -> None |
Close delegate and clean up temp file. |
| column_list | column_list() -> list | None |
Return columns from delegate. |
| next_row | next_row() -> list | str | None |
Return next row from delegate. |