{"id":42154715,"url":"https://github.com/alkaphreak/marstech-sftp","last_synced_at":"2026-01-26T19:04:24.949Z","repository":{"id":201704453,"uuid":"706059947","full_name":"alkaphreak/marstech-sftp","owner":"alkaphreak","description":"  Test implem of Jsch SFTP API with Kotlin and Spring boot Native, Kotest and Testcontainers ","archived":false,"fork":false,"pushed_at":"2025-08-20T13:45:01.000Z","size":582,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T15:35:58.730Z","etag":null,"topics":["jsch","kotest","kotlin","sftp","spring-boot","spring-native","testcontainers"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alkaphreak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-17T08:22:34.000Z","updated_at":"2025-08-20T13:45:04.000Z","dependencies_parsed_at":"2024-01-04T15:28:31.104Z","dependency_job_id":"1c1240be-eefe-4f3d-8bdf-7e3f6dd52d64","html_url":"https://github.com/alkaphreak/marstech-sftp","commit_stats":null,"previous_names":["alkaphreak/marstech-sftp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alkaphreak/marstech-sftp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaphreak%2Fmarstech-sftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaphreak%2Fmarstech-sftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaphreak%2Fmarstech-sftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaphreak%2Fmarstech-sftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alkaphreak","download_url":"https://codeload.github.com/alkaphreak/marstech-sftp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaphreak%2Fmarstech-sftp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28785172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jsch","kotest","kotlin","sftp","spring-boot","spring-native","testcontainers"],"created_at":"2026-01-26T19:01:01.084Z","updated_at":"2026-01-26T19:04:24.938Z","avatar_url":"https://github.com/alkaphreak.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marstech-sftp\n\n## Efficient SFTP Testing with JSch, Kotlin, Testcontainers, and Spring Boot Native\n\nExplore a streamlined approach to testing SFTP operations using JSch, Kotlin, Testcontainers,\nand the power of Spring Boot Native for optimized performance.\n\n## Table of contents\n\n1. [JSCH Howto](doc/Jsch.md)\n2. [JSCH testing and TestContainers Howto](doc/Testing.md)\n3. [Going Native Howto](doc/Native.md)\n4. [Tests containers, going further](doc/TODO)\n\n## Conclusions\n\nIn conclusion, we have covered the various steps to use JSch for sending and receiving files with an SSH/SFTP server.\n\nWe have set up a test using TestContainers to dynamically spin up a Docker image that served as our server for\nconducting our send/receive tests.\n\nWe used GraalVM and native compilation to improve the performance of our app.\n\n## Resources\n\nTo further expand your knowledge\n\n### JSCH part\n\n* https://github.com/mwiede/jsch\n* https://mkyong.com/java/file-transfer-using-sftp-in-java-jsch/\n* https://www.ssh.com/academy/ssh/sftp-ssh-file-transfer-protocol\n* https://linuxize.com/post/how-to-use-linux-sftp-command-to-transfer-files/\n\n### Testing part\n\n* https://www.baeldung.com/kotlin/kotest\n* https://testcontainers.com/guides/getting-started-with-testcontainers-for-java/\n* https://engineering.zalando.com/posts/2021/02/integration-tests-with-testcontainers.html\n* https://hub.docker.com/r/atmoz/sftp\n\n### Native build part\n\n* https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html\n* https://www.baeldung.com/spring-native-intro\n* https://sdkman.io/\n\n### Tests Containers\n\n* https://kotest.io/docs/framework/lifecycle-hooks.html\n\n---\n\n## Hi there 👋\n\nHere is my Linktree: https://linktr.ee/StephaneRobinJob\n\nHere is my refreal link on digital ocean: https://m.do.co/c/be389fc15e1a\n\nGet $200 in free DigitalOcean credits to deploy your next project! Perfect for developers starting their cloud journey.\n\n[![DigitalOcean Referral Badge](https://web-platforms.sfo2.cdn.digitaloceanspaces.com/WWW/Badge%201.svg)](https://www.digitalocean.com/?refcode=be389fc15e1a\u0026utm_campaign=Referral_Invite\u0026utm_medium=Referral_Program\u0026utm_source=badge)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkaphreak%2Fmarstech-sftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falkaphreak%2Fmarstech-sftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkaphreak%2Fmarstech-sftp/lists"}