Printing FTP Folder/File Contents

Printing FTP Folder/File Contents

Posted by: greenguitar
Posted on: 2008-12-05 13:23:00

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?

Re: Printing FTP Folder/File Contents

Posted by: vicm3
Posted on: 2008-12-05 14:53:00

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 :D

Re: Printing FTP Folder/File Contents

Posted by: sdayman
Posted on: 2008-12-05 15:45:00

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.

-Scott

Tags: sshfolderstech support