ftp

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FtpCmd = &cobra.Command{
	Use:   "ftp <url> <homeDirectory>",
	Short: "Start worker for Web FTP",
	Args:  cobra.ExactArgs(3),
	Run: func(cmd *cobra.Command, args []string) {
		data := runner.FtpConfigData{
			URL:           args[0],
			ServerURL:     args[1],
			HomeDirectory: args[2],
			Logger:        logger.NewFtpLogger(),
		}

		RunFtpWorker(data)
	},
}

Functions

func RunFtpWorker

func RunFtpWorker(data runner.FtpConfigData)

Types

This section is empty.

Jump to

Keyboard shortcuts

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