Expand description
Upload files from disk to a remote server over HTTP.
Download files from a remote HTTP server to disk.
§Cargo features
- rustls-tls (enabled by default): Enables TLS functionality provided by
rustls. - native-tls: Enables TLS functionality provided by
native-tls. - native-tls-vendored: Enables the
vendoredfeature ofnative-tls.
Enums§
- Error
- The error type returned by this plugin’s
uploadanddownloadcommands. - Http
Method - The HTTP method used to send the file in the
uploadcommand.
Functions§
- init
- Initializes the upload plugin, registering the
uploadanddownloadcommands.