dir - List remote files in SFTP

You can view the files present in the remote directory in one shot by "dir" command.

Syntax:
psftp> dir


Example:
psftp> pwd
current remote working directory is /home/user1
psftp> dir
file1.sh
file2.sh
file3.sh

psftp>