List files in SFTP-folder

You can try to run ls command on the remote server with “SSH command” action and “Capture output” option.