How to list out the files of remote server?

I want to list out the backup files of the remote server in the Jenkins console and from those files, I can select the backup file to restore to the particular location of that remote server. How can I do that ?? Please provide me a suggestion.