Recursive Directory Listing - sftp

Jan 14, 2013 at 11:01 AM


Kind of new to all this and have been attempting to create a simple complete directory listing of a remote sftp server. I can get the root directory list and define whether it's a file or another directory but I cannot seem to work out how to then list all the subdirectories.

Help? :)

Jan 14, 2013 at 8:08 PM



Well, at this moment, I guess the only option would be is to itterate thru all items and if its directory then issue another list call, etc' etc'.


Hope it helps,