Documentation ¶
Index ¶
- type Addition
- type FTP
- func (d *FTP) Config() driver.Config
- func (d *FTP) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *FTP) Drop(ctx context.Context) error
- func (d *FTP) GetAddition() driver.Additional
- func (d *FTP) Init(ctx context.Context) error
- func (d *FTP) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *FTP) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *FTP) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *FTP) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *FTP) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *FTP) Remove(ctx context.Context, obj model.Obj) error
- func (d *FTP) Rename(ctx context.Context, srcObj model.Obj, newName string) error
- type FTPFileReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FTP ¶
func (*FTP) GetAddition ¶
func (d *FTP) GetAddition() driver.Additional
type FTPFileReader ¶ added in v3.14.0
type FTPFileReader struct {
// contains filtered or unexported fields
}
An FTP file reader that implements io.ReadSeekCloser for seeking.
func NewFTPFileReader ¶ added in v3.14.0
func NewFTPFileReader(conn *ftp.ServerConn, path string) *FTPFileReader
func (*FTPFileReader) Close ¶ added in v3.14.0
func (r *FTPFileReader) Close() error
Click to show internal directories.
Click to hide internal directories.