Debian Codegraph @

/

debian golang-github-smira-go-ftp-protocol 0.0~git20140829.066b75c-2debian golang-github-smira-go-ftp-protocol-dev debiangogoinimakefilemarkdownshellyaml 12 files · 41 symbols
View dependency graph

Depends on

Used by

README (full)

go-ftp-protocol

Plugin for http.Transport with support for ftp:// protocol in Go.

Limitations: only anonymous FTP servers, only file retrieval operations.

Internally connections to FTP servers are cached and re-used when possible.

Example usage:

import "github.com/smira/go-ftp-protocol/protocol"

transport := &http.Transport{}
transport.RegisterProtocol("ftp", &protocol.FTPRoundTripper{})

client := &http.Client{Transport: transport}

resp, err := client.Get("ftp://ftp.ru.debian.org/debian/README")

License: MIT

Base on FTP client library: http://github.com/jlaffaye/ftp/

dir debian/
dir protocol/
file .gitignore
file LICENSE
file README.md