Không có mô tả

Julian Kornberger 9284a88df5 Support line with ACL permissions (#146) 7 năm trước cách đây
.github 9b5a3addd7 Update issue templates 7 năm trước cách đây
.travis.yml 55546487cf Use mock for all tests 7 năm trước cách đây
LICENSE 3a7f65cd20 Update copyright years. 13 năm trước cách đây
README.md e6de3d35bf Replace DialWithOptions with Dial 7 năm trước cách đây
client_test.go 04b1878733 Add DialWithOptions 7 năm trước cách đây
conn_test.go e6de3d35bf Replace DialWithOptions with Dial 7 năm trước cách đây
debug.go 8b7b512afb Add DialWithDebugOutput to log commands. 7 năm trước cách đây
ftp.go 8f5b34ce00 Complete Implicit FTPS support (#143) 7 năm trước cách đây
parse.go 9284a88df5 Support line with ACL permissions (#146) 7 năm trước cách đây
parse_test.go 9284a88df5 Support line with ACL permissions (#146) 7 năm trước cách đây
scanner.go 602886c6b8 Do not export the scanner type 9 năm trước cách đây
scanner_test.go 602886c6b8 Do not export the scanner type 9 năm trước cách đây
status.go 72f5c01749 StatusText returns a text for the FTP status code 7 năm trước cách đây
status_test.go 8019e67744 Add tests for StatusText 7 năm trước cách đây

README.md

goftp

Build Status Coverage Status Go ReportCard godoc.org

A FTP client package for Go

Install

go get -u github.com/jlaffaye/ftp

Example

c, err := ftp.Dial("ftp.example.org:21", ftp.DialWithTimeout(5*time.Second))
if err != nil {
    log.Fatal(err)
}

err = c.Login("anonymous", "anonymous")
if err != nil {
    log.Fatal(err)
}

// Do something with the FTP conn

if err := c.Quit(); err != nil {
    log.Fatal(err)
}