plg_backend_ftp_only

package
v0.0.0-...-612c5e9 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FtpCache AppCache

Functions

This section is empty.

Types

type Ftp

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

func (Ftp) Cat

func (f Ftp) Cat(path string) (io.ReadCloser, error)

func (Ftp) Close

func (f Ftp) Close() error

func (Ftp) Home

func (f Ftp) Home() (string, error)

func (Ftp) Init

func (f Ftp) Init(params map[string]string, app *App) (IBackend, error)

func (Ftp) LoginForm

func (f Ftp) LoginForm() Form

func (Ftp) Ls

func (f Ftp) Ls(path string) ([]os.FileInfo, error)

func (Ftp) Mkdir

func (f Ftp) Mkdir(path string) error

func (Ftp) Mv

func (f Ftp) Mv(from string, to string) error

func (Ftp) Rm

func (f Ftp) Rm(path string) error

func (Ftp) Save

func (f Ftp) Save(path string, file io.Reader) error

func (Ftp) Touch

func (f Ftp) Touch(path string) error

Jump to

Keyboard shortcuts

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