ftp

FTP Client for crystal

FTP

FTP Client library

Known Issues

Crystal does not yet support OpenSSL Sessions, some servers may require sessions to be used.

Still working on how I want to pass options.

Supports

TLS (FTPS)

MSLT

MLSD

Installation

dependencies:
  ftp:
    github: vonkingsley/ftp

Usage

client = FTP::Client.new(host, username, password)
client.list
client.nlst
client.get_binary_file("file")
client.close
FTP::Client.open(host, username, password) do |c|
  c.list
  c.rename("old_name", "new_name")
end

Contributing

  1. Fork it ( https://github.com/vonKingsley/ftp/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

ftp

Owner
Statistic
  • 6
  • 1
  • 0
  • 0
  • 0
  • about 7 years ago
  • September 13, 2017
License

MIT License

Links
Synced at

Mon, 18 Nov 2024 01:03:41 GMT

Languages