{"id":25609801,"url":"https://github.com/buzzcosm/ftp-client-integration-example","last_synced_at":"2026-04-29T00:01:48.681Z","repository":{"id":278554776,"uuid":"935987647","full_name":"buzzcosm/ftp-client-integration-example","owner":"buzzcosm","description":"Apache FTPClient Integration Example","archived":false,"fork":false,"pushed_at":"2025-02-20T11:34:49.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T12:29:56.900Z","etag":null,"topics":["ftp-client","java","lombok","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buzzcosm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-20T10:51:12.000Z","updated_at":"2025-02-20T11:34:53.000Z","dependencies_parsed_at":"2025-02-20T12:41:19.231Z","dependency_job_id":null,"html_url":"https://github.com/buzzcosm/ftp-client-integration-example","commit_stats":null,"previous_names":["buzzcosm/ftp-client-integration-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzcosm%2Fftp-client-integration-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzcosm%2Fftp-client-integration-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzcosm%2Fftp-client-integration-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzcosm%2Fftp-client-integration-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buzzcosm","download_url":"https://codeload.github.com/buzzcosm/ftp-client-integration-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240093148,"owners_count":19746781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ftp-client","java","lombok","spring-boot"],"created_at":"2025-02-21T21:58:34.608Z","updated_at":"2026-04-29T00:01:48.600Z","avatar_url":"https://github.com/buzzcosm.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apache FTPClient Integration Example\n\nExamples:\n- [Baeldung: Implementing a FTP-Client in Java](https://www.baeldung.com/java-ftp-client)\n\n### Unit-Tests\n\nFTP-Client: `src/test/java/com/buzzcosm/ftpclient/integration/example/ftp/*`\n\n### Straightforward Implementation\n\nFTP-Client: `FtpClientIntegration.java`\n\n### Interface Implementation\n\n\u003e better architecture\n\nFTP-Client: `FtpClientServiceImpl.java`\n\nUse of the FTP client in a process scenario:\n```java\npublic class Main {\n    public static void main(String[] args) {\n        FtpClientService ftpClient = FtpClientBuilder.builder()\n                .host(\"ftp.example.com\")\n                .port(21)\n                .credentials(\"user\", \"password\")\n                .build();\n\n        try {\n            ftpClient.connect();\n\n            // download files\n            ByteArrayOutputStream file1 = ftpClient.downloadFile(\"/file1.txt\");\n            ByteArrayOutputStream file2 = ftpClient.downloadFile(\"/file2.txt\");\n\n            // processing\n            processFile(new ByteArrayInputStream(file1.toByteArray()));\n            processFile(new ByteArrayInputStream(file2.toByteArray()));\n\n            ftpClient.disconnect();\n            \n        } catch (IOException e) {\n            log.error(\"FTP Error\", e);\n        }\n    }\n\n    public static void processFile(InputStream isFile) throws IOException {\n        // ...\n    }\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzcosm%2Fftp-client-integration-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuzzcosm%2Fftp-client-integration-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzcosm%2Fftp-client-integration-example/lists"}