{"id":19634018,"url":"https://github.com/nullobsi/ftpdeno","last_synced_at":"2025-04-28T07:31:10.082Z","repository":{"id":47102808,"uuid":"323991735","full_name":"nullobsi/ftpdeno","owner":"nullobsi","description":"FTP Client for Deno","archived":false,"fork":false,"pushed_at":"2024-05-17T23:41:47.000Z","size":59,"stargazers_count":11,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T00:07:38.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/nullobsi.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}},"created_at":"2020-12-23T20:04:08.000Z","updated_at":"2025-03-11T23:14:16.000Z","dependencies_parsed_at":"2024-05-02T20:08:07.281Z","dependency_job_id":null,"html_url":"https://github.com/nullobsi/ftpdeno","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullobsi%2Fftpdeno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullobsi%2Fftpdeno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullobsi%2Fftpdeno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullobsi%2Fftpdeno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullobsi","download_url":"https://codeload.github.com/nullobsi/ftpdeno/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251271117,"owners_count":21562494,"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":[],"created_at":"2024-11-11T12:19:20.619Z","updated_at":"2025-04-28T07:31:09.347Z","avatar_url":"https://github.com/nullobsi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FTPDeno\n\nPure TypeScript FTP Client for Deno. [Docs here](https://doc.deno.land/https/deno.land/x/ftpc/mod.ts)\n\nTested using vsFTPd v3.0.3. \nHowever, tests are not extensive; please report problems if they occur! \n\nSupports:\n* Active and passive mode\n* Implicit and explicit TLS\n* Downloading/uploading via Readable and Writable interfaces\n* List files\n* Deleting/creating directories and files\n* Renaming files/directories\n\n## Usage\nThis is also located in the Examples folder.\n\n```ts\n// Requires --allow-net and --allow-write\nimport { FTPClient } from \"https://deno.land/x/ftpc/mod.ts\";\n\n// Connect as anonymous user\nusing client = new FTPClient(\"speedtest.tele2.net\");\n\nawait client.connect();\nconsole.log(\"Connected!\");\n\n// Download test file\nconsole.log(\"Downloading...\");\n\n{\n\tusing file = await Deno.open(\"./5MB.zip\", {\n\t\tcreate: true,\n\t\twrite: true,\n\t});\n\n\t// Use Readable and Writable interface for fast and easy tranfers.\n\tawait using stream = await client.downloadReadable(\"5MB.zip\");\n\tawait stream.pipeTo(file.writable);\n} // Because of `await using`, finalizeStream is called and server is notified.\n\n// Since we did `using`, connection is automatically closed.\nconsole.log(\"Finished!\");\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullobsi%2Fftpdeno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullobsi%2Fftpdeno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullobsi%2Fftpdeno/lists"}