command
Version:
v0.0.0-...-d850007
Opens a new window with list of versions in this module.
Published: Mar 7, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
FTP Worker
The FTP worker
Redirect upload (write operation) and download (read operation) as local program calling
Usage
Usage of ftp-worker:
-hostname string
FTP listen hostname
-port int
FTP listen port
-on-read string
Read operation local hook program
-on-write string
Write operation local hook program
-workdir string
Work directory
-username string
Username (default "user")
-password string
Password (default "pass")
-tls-explicit
Explicit FTPS
-tls-cert-file string
TLS Certificate file
-tls-key-file string
TLS Key file
Read hook
Equivalent to:
read-hook-program <filename> | <file-content>
Environions:
Field Name |
Type |
FTP_ACTION |
READ |
FTP_PATH |
file path |
FTP_READ_OFFSET |
integer |
Write hook
Equivalent to:
<file-content> | write-hook-program <filename>
Environments:
Field Name |
Type |
FTP_ACTION |
WRITE |
FTP_PATH |
file path |
Example
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.