rclone: github.com/ncw/rclone/cmd/serve/ftp/ftpopt Index | Files

package ftpopt

import "github.com/ncw/rclone/cmd/serve/ftp/ftpopt"

Index

Package Files

ftp_options.go

Variables

var DefaultOpt = Options{
    ListenAddr:   "localhost:2121",
    PublicIP:     "",
    PassivePorts: "30000-32000",
    BasicUser:    "anonymous",
    BasicPass:    "",
}

DefaultOpt is the default values used for Options

var Help = "" /* 562 byte string literal not displayed */

Help contains text describing the http server to add to the command help.

type Options Uses

type Options struct {
    //TODO add more options
    ListenAddr   string // Port to listen on
    PublicIP     string // Passive ports range
    PassivePorts string // Passive ports range
    BasicUser    string // single username for basic auth if not using Htpasswd
    BasicPass    string // password for BasicUser
}

Options contains options for the http Server

Package ftpopt is imported by 4 packages. Updated 2019-06-25. Refresh now. Tools for package owners.