ftp
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
- Fork it ( https://github.com/vonKingsley/ftp/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- vonKingsley Kingsley Lewis - creator, maintainer
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