SENDFILE

Description

Used to send file from shell scripts

Command

sendfile -s <server> -p <port> -f <path> -t <protocol> -m (basic|digest|post) -d <directory> -n <name> [-c <controlname>] [-b] [-u <username>] [-a <password>] [-x <ca:cert>] [-r <ca:cert>] [-v]
-s server : object http server
-f path : filepath on server
-t protocol : http | https
-m mode : basic | digest | post
-d directory : file directory
-n name : filename
-c controlname : http control name
-u username : username for http authentication
-a password : password for http authentication
-x ca:cert : client certificate (default : fw certificate)
-r ca:cert : reference server certificate
-b : bypass proxy server settings
-i : set bind address (can be an IP, a host or an interface name)
-v : verbose

Results

Example