ls > remotedir.txt
So that the directory listing is saved to a file, remotedir.txt
/log and XML are no good.
/log just adds it to the log with other stuff, I don't need.
XML, don't use it, don't like it, don't want it.
This would make it a simple task to email via sendmail or other function, the ls output for other tasks to users with out adding a XML decoding layer and processing.