Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Targets struct { TARGETS []string `description:"Provide target IP/FQDN/FILE"` } `positional-args:"yes"` Connection struct { Username string `short:"u" description:"Provide username (or FILE)"` Password string `short:"p" description:"Provide password (or FILE)"` Port int `long:"port" default:"21" description:"Port to contact"` } `group:"Connection Options" description:"Connection Options"` Mode struct { GetFile string `long:"get" description:"Get specified file"` PutFile string `long:"put" description:"Put specified file"` DstFile string `long:"dst" description:"Destination file (get/put)"` ReadFile string `long:"read" description:"Read a file stored in the server"` List bool `long:"list" description:"List files in / directory"` RecursiveList bool `long:"recursive-list" description:"List all files in FTP server (might take long)"` } `group:"Possible Operations"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.