ftp

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRtries    = errors.New("retries exceeded")
	ErrNoHost    = errors.New("no input host provided")
	ErrAnonymous = errors.New("anonymous test, skip")

	ErrLogin   = "Login incorrect"
	Err500OOPS = "cannot change directory"
)

Functions

This section is empty.

Types

type FTP

type FTP struct {
	// contains filtered or unexported fields
}

func New

func New(host, port string, retries, timeout int) (*FTP, error)

func (*FTP) AuthRetries

func (f *FTP) AuthRetries(user, password string) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL