SFTP URL
Syntax
sftp://<USERNAME>@<IP-ADDR>[:<PORT-NUM>]/<FILENAME>
Examples
To specify:
A URL with an IPv4 address:
sftp://user@1.1.1.1/a.txt
A URL with an IPv6 address:
sftp://user@[2000::2]/a.txt
A URL with a hostname:
sftp://user@hpe.com/a.txt
SFTP port number of a server in the URL:
sftp://user@1.1.1.1:12/a.txt
A file in a directory of URL:
sftp://user@1.1.1.1/dir/a.txt
To specify a file with absolute path in the URL:
sftp://user@1.1.1.1//home/user/a.txt