Re: Is there any other way to show a recursive listing of all files and folders in a specific site?
It's for the remote site - so FIND won't work unless I can put email@example.com and log in with Find - I don't think this is possible.
Sorry, I do not follow. What's the problem? You can login with WinSCP GUI to firstname.lastname@example.org and use the Find command to list all your files. I do not see how does it NOT cover your requirements.
ls -Roption in SFTP - however it looks like the server side disabled it so the command is not recognized.
In what "SFTP"? Do you mean OpenSSH
sftpcommand-line client? It does NOT have
ls -R. See https://man.openbsd.org/sftp#ls.
So what I am looking for is a manual recursion that lists out all the files, their sizes and path names (similar to ls -laR) command, but on the remote side, not the local side of the FTP.
Again, that's what WinSCP Find GUI command can do.
Or, if you want to automate the listing. option, you can use
Session.EnumerateRemoteFilesmethod of WinSCP .NET assembly. E.g. from a PowerShell script. You can start with this example.
Just remove the "download and grep" part.
And add listing of all file attributes. For that see