ftpsync

package
v0.0.0-...-2ec961a Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ftp_run

type Ftp_run struct {
	Ftplist               map[string]string
	Ftp_ser               *ftp.ServerConn
	Remote_path, Cur_path string
}

func NewFtp_Sync

func NewFtp_Sync() *Ftp_run

func (*Ftp_run) Connect_ftp_server

func (this *Ftp_run) Connect_ftp_server() bool

func (*Ftp_run) GetFilelist

func (this *Ftp_run) GetFilelist() []string

func (*Ftp_run) Loginout_ftp

func (this *Ftp_run) Loginout_ftp()

func (*Ftp_run) Path_format

func (this *Ftp_run) Path_format(dirstr string) string

func (*Ftp_run) Stor_Ftp

func (this *Ftp_run) Stor_Ftp(cur_name, file_name string) error

func (*Ftp_run) Upload_dir_file

func (this *Ftp_run) Upload_dir_file(path_dir []string)

func (*Ftp_run) Upload_ftp_server

func (this *Ftp_run) Upload_ftp_server()

Jump to

Keyboard shortcuts

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