Documentation ¶
Index ¶
- type ConnConfig
- type FTP
- func (f *FTP) Connect() error
- func (f *FTP) Disconnect() error
- func (f *FTP) Download(remotePath string, localPath string) error
- func (f *FTP) LimitByDate(remoteFolder string, beforeDurationPattern string) ([]string, error)
- func (f *FTP) LimitByFileCount(remoteFolder string, limit int) ([]string, error)
- func (f *FTP) LimitByLength(remoteFolder string, limitBytes uint64) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FTP ¶
func New ¶
func New(c ConnConfig) *FTP
func (*FTP) Disconnect ¶
func (*FTP) LimitByDate ¶
func (*FTP) LimitByFileCount ¶
Click to show internal directories.
Click to hide internal directories.