Printing FTP Folder/File Contents


Is anyone familiar with how I can print out a complete inventory of the folders and files contained on an SSH SFTP Dreamhost site? I would like to be able to print/view a list of what is out here on a regular basis. I use WS_FTP professional as my software but their Tech Support says that thier software cannot do this through SSH. Any ideas?


Well all the contents?
use the cli… logon
ls -lahR

And if you’re using putty or some other client configure the lines saved on a high number :smiley:

Somewhere, something incredible is waiting to be known.


For commands with long outputs, you can redirect it to a file:
ls -lahR > ~/listing.txt

You can also try: find ./ -print (this will list all files with their full paths.

Even more fun: Use the ‘tree’ command. It’s quite impressive.