Documentation ¶
Index ¶
- type Client
- type Entry
- type EntryType
- type FTPS
- func (ftps *FTPS) ChangeWorkingDirectory(path string) (err error)
- func (ftps *FTPS) Connect(host string, port int) (err error)
- func (ftps *FTPS) DeleteFile(path string) (err error)
- func (ftps *FTPS) List() (entries []Entry, err error)
- func (ftps *FTPS) Login(username, password string) (err error)
- func (ftps *FTPS) MakeDirectory(path string) (err error)
- func (ftps *FTPS) PrintWorkingDirectory() (directory string, err error)
- func (ftps *FTPS) Quit() (err error)
- func (ftps *FTPS) RemoveDirectory(path string) (err error)
- func (ftps *FTPS) RetrieveFile(remoteFilepath string, file *os.File) (err error)
- func (ftps *FTPS) StoreData(remoteFilepath string, data []byte) (err error)
- func (ftps *FTPS) StoreFile(remoteFilepath string, f *os.File) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client FTPS Client
func (*Client) DownloadFile ¶
DownloadFile file from server
type FTPS ¶
type FTPS struct { Debug bool Timeout time.Duration TLSConfig tls.Config // contains filtered or unexported fields }
func (*FTPS) ChangeWorkingDirectory ¶
func (*FTPS) DeleteFile ¶
func (*FTPS) MakeDirectory ¶
func (*FTPS) PrintWorkingDirectory ¶
func (*FTPS) RemoveDirectory ¶
func (*FTPS) RetrieveFile ¶
Click to show internal directories.
Click to hide internal directories.