{"id":15032984,"url":"https://github.com/ruby/net-ftp","last_synced_at":"2025-05-15T14:04:20.020Z","repository":{"id":41187177,"uuid":"240199753","full_name":"ruby/net-ftp","owner":"ruby","description":"This class implements the File Transfer Protocol.","archived":false,"fork":false,"pushed_at":"2025-05-01T01:32:35.000Z","size":425,"stargazers_count":31,"open_issues_count":0,"forks_count":27,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-05-01T02:36:39.579Z","etag":null,"topics":["hacktoberfest","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2020-02-13T07:16:47.000Z","updated_at":"2025-05-01T01:32:38.000Z","dependencies_parsed_at":"2024-04-19T11:43:04.852Z","dependency_job_id":"65e48d56-1389-40f5-9916-ff7799561ee9","html_url":"https://github.com/ruby/net-ftp","commit_stats":{"total_commits":256,"total_committers":51,"mean_commits":5.019607843137255,"dds":0.6796875,"last_synced_commit":"be25c98049759fe67a169e3d632588aea206f5e9"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fnet-ftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fnet-ftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fnet-ftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fnet-ftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/net-ftp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355334,"owners_count":22057354,"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":["hacktoberfest","ruby"],"created_at":"2024-09-24T20:19:52.264Z","updated_at":"2025-05-15T14:04:19.994Z","avatar_url":"https://github.com/ruby.png","language":"Ruby","readme":"# Net::FTP\n\nThis class implements the File Transfer Protocol.  If you have used a\ncommand-line FTP program, and are familiar with the commands, you will be\nable to use this class easily.  Some extra features are included to take\nadvantage of Ruby's style and strengths.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'net-ftp'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install net-ftp\n\n## Usage\n\n### Example 1\n\n```ruby\nftp = Net::FTP.new('example.com')\nftp.login\nfiles = ftp.chdir('pub/lang/ruby/contrib')\nfiles = ftp.list('n*')\nftp.getbinaryfile('nif.rb-0.91.gz', 'nif.gz', 1024)\nftp.close\n```\n\n### Example 2\n\n```ruby\nNet::FTP.open('example.com') do |ftp|\n  ftp.login\n  files = ftp.chdir('pub/lang/ruby/contrib')\n  files = ftp.list('n*')\n  ftp.getbinaryfile('nif.rb-0.91.gz', 'nif.gz', 1024)\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ruby/net-ftp.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fnet-ftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Fnet-ftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fnet-ftp/lists"}