Versions in this module Expand all Collapse all v0 v0.1.0 Feb 23, 2026 Changes in this version + const ConnTypeAny + const ConnTypeSSH + const ConnTypeTelnet + var ErrBinaryNotFound = errors.New("transfer binary not found") + func ExecuteZmodemReceive(s ssh.Session, targetDir string) error + func ExecuteZmodemSend(s ssh.Session, filePaths ...string) error + func RunCommandDirect(s ssh.Session, cmd *exec.Cmd) error + func RunCommandWithPTY(s ssh.Session, cmd *exec.Cmd) error + type ProtocolConfig struct + BatchSend bool + ConnectionType string + Default bool + Description string + Key string + Name string + RecvArgs []string + RecvCmd string + SendArgs []string + SendCmd string + UsePTY bool + func DefaultProtocol(protocols []ProtocolConfig) (ProtocolConfig, bool) + func FindProtocol(ps []ProtocolConfig, key string) (ProtocolConfig, bool) + func LoadProtocols(path string) ([]ProtocolConfig, error) + func (p *ProtocolConfig) ExecuteReceive(s ssh.Session, targetDir string) error + func (p *ProtocolConfig) ExecuteSend(s ssh.Session, filePaths ...string) error