transfer

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s *mcp.Server)

Types

type DownloadInput

type DownloadInput struct {
	Server     string `` /* 126-byte string literal not displayed */
	RemotePath string `json:"remote_path" jsonschema:"Absolute path to the file on the remote server. Must be a file, not a directory."`
	LocalPath  string `json:"local_path" jsonschema:"Absolute path for the local destination. Parent directories will be created if needed."`
}

type DownloadOutput

type DownloadOutput struct {
	Message      string `json:"message" jsonschema:"Human-readable success message with transfer details."`
	BytesWritten int64  `json:"bytes_written" jsonschema:"Total number of bytes transferred."`
}

type UploadInput

type UploadInput struct {
	Server     string `` /* 126-byte string literal not displayed */
	LocalPath  string `json:"local_path" jsonschema:"Absolute path to the local file to upload. Must be a file, not a directory."`
	RemotePath string `json:"remote_path" jsonschema:"Absolute path for the destination on the remote server. Parent directory must exist."`
}

type UploadOutput

type UploadOutput struct {
	Message      string `json:"message" jsonschema:"Human-readable success message with transfer details."`
	BytesWritten int64  `json:"bytes_written" jsonschema:"Total number of bytes transferred."`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL