SftpUtil

package
v0.0.0-...-3774c73 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(user, password, host string, port int) (*sftp.Client, error)

func UploadDirectory

func UploadDirectory(sftpClient *sftp.Client, localPath string, remotePath string)

func UploadFile

func UploadFile(sftpClient *sftp.Client, localFilePath string, remotePath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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