I have requirement to connect to the file server (using ftp over SSH) using XI. After reading the SAP document I realized that standard file adapter does not support SSH connectivity. Hence, I decided with the approach of writing java code and processing the file.
My question here is, can I write the code (connectivity to FTP over SSH server and reading a file) as a adapter module and plug into the file adapter. Is it possible and if possible what are the pro's and con's.