<< back to sysax.com Product page

4.3.3. List contents of remote directory

The ls Displays an abbreviated list of a remote directory's files and subdirectories. This command is followed by the parameters are 'remote-directory and local-file'. The remote-directory specifies the directory for which you want to see a listing. If no directory is specified, the current working directory on the remote computer is used and the local-file specifies a local file to store the listing. If not specified, output is displayed on the screen.

The Syntax is

Exhibit 4.13. Syntax of "ls" command

 
 ls [remote-directory] [local-file]  


Exhibit 4.14. table title

    
 sysaxftp> ls 

 TYPE A
 200 Command okay
 PASV
 227 Entering Passive Mode (192,168,0,30,39,21)
 LIST
 150 File status okay; about to open data connection
 226 Closing data connection
 2007sep12.txt
 2007sep17.txt
 2007sep19.txt
 star_unit

 sysaxftp>