-rw-rw-rw- 1 1 1 301 Jan 2 00:16 pubkey
drwxrwxrwx 1 1 1 2048 Jan 1 00:00 seclog
-rwxrwxrwx 1 1 1 572 Jan 2 00:17 serverkey
-rwxrwxrwx 1 1 1 4481 Sep 28 10:52 startup.cfg
mkdir
Use mkdir to create a directory on an SFTP server.
Syntax
mkdir remote-path
Views
SFTP client view
Predefined user roles
network-admin
Parameters
remote-path: Specifies the name for the directory on an SFTP server
Examples
# Create a directory named test on the SFTP server.
sftp> mkdir test
put
Use put to upload a local file to an SFTP server.
Syntax
put local-file [ remote-file ]
Views
SFTP client view
Predefined user roles
network-admin
Parameters
local-file: Specifies the name of a local file.
remote-file: Specifies the name of a file on an SFTP server.
Usage guidelines
If the remote-file argument is not specified, the file will be remotely saved with the same name as the local
one.
Examples
# Upload the local file startup.bak to the SFTP server and save it as startup01.bak.
247