Documentation
¶
Index ¶
- type FtpDownloader
- func (ftpDownloader *FtpDownloader) Browse(destination *models.ParsedDestination) ([]*models.RemoteFile, error)
- func (ftpDownloader *FtpDownloader) Download(remoteFile *models.RemoteFile) (*models.RemoteFileContent, error)
- func (ftpDownloader *FtpDownloader) Remove(remoteFile *models.RemoteFile) error
- func (ftpDownloader *FtpDownloader) Stat(destination *models.ParsedDestination) (*models.RemoteFile, error)
- type IFtpClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FtpDownloader ¶
type FtpDownloader struct { }
func (*FtpDownloader) Browse ¶
func (ftpDownloader *FtpDownloader) Browse(destination *models.ParsedDestination) ([]*models.RemoteFile, error)
Browse a files list in the server directory
func (*FtpDownloader) Download ¶
func (ftpDownloader *FtpDownloader) Download(remoteFile *models.RemoteFile) (*models.RemoteFileContent, error)
Download the file. Get Blob io.ReadCloser
func (*FtpDownloader) Remove ¶ added in v1.1.2
func (ftpDownloader *FtpDownloader) Remove(remoteFile *models.RemoteFile) error
func (*FtpDownloader) Stat ¶
func (ftpDownloader *FtpDownloader) Stat(destination *models.ParsedDestination) (*models.RemoteFile, error)
Click to show internal directories.
Click to hide internal directories.