Differences

This shows you the differences between the selected revisions of the page.

scriptcommand_ls 2019-07-12 scriptcommand_ls 2020-10-16 (current)
Line 1: Line 1:
-====== ls ======+====== ls command ======
Lists the contents of specified remote directory. Lists the contents of specified remote directory.
Line 16: Line 16:
XML log element: ''[[logging_xml#ls|ls]]'' XML log element: ''[[logging_xml#ls|ls]]''
-===== Examples =====+===== [[examples]] Examples =====
<code winscp> <code winscp>
ls *.html ls *.html
Line 25: Line 25:
<code winscp> <code winscp>
ls ls
 +</code>
 +<code winscp>
 +ls /home/martin/*.html
</code> </code>
-===== Converting to .NET Assembly =====+===== [[net]] Converting to .NET Assembly =====
When [[library_from_script|converting script to .NET Assembly]], map ''ls'' command to ''[[library_session_listdirectory|Session.ListDirectory]]'' method and print returned ''[[library_remotedirectoryinfo|RemoteDirectoryInfo]]'' in your preferred format. When [[library_from_script|converting script to .NET Assembly]], map ''ls'' command to ''[[library_session_listdirectory|Session.ListDirectory]]'' method and print returned ''[[library_remotedirectoryinfo|RemoteDirectoryInfo]]'' in your preferred format.

Last modified: by martin