Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCommand ¶
type FileCommand struct { base.BaseCommand // contains filtered or unexported fields }
func NewFileCommand ¶
func NewFileCommand(fileTransferService service.IFileTransferService) *FileCommand
NewFileCommand method creates a new file command
func (*FileCommand) Download ¶
func (fc *FileCommand) Download(c *cli.Context) error
Remove - Remove the given file from server
func (*FileCommand) ListFiles ¶
func (fc *FileCommand) ListFiles(c *cli.Context) error
ListFiles - Displays all files in the server
func (*FileCommand) Remove ¶
func (fc *FileCommand) Remove(c *cli.Context) error
Remove - Remove the given file from server
func (*FileCommand) Upload ¶
func (fc *FileCommand) Upload(c *cli.Context) error
Upload - Upload the given file to server
Click to show internal directories.
Click to hide internal directories.