Sends the specified file to the specified host address.
- sourceFileName (String)
- String. Path and name of file to upload. Required.
- address (Uri)
- String or Uri. URL, IP address, or URI of destination server. Required.
- userName (String)
- String. User name to authenticate. Default is an empty string: "".
- password (String)
- String. Password to authenticate. Default is an empty string: "".