<< back to sysax.com Product page

3.10. Receieve File

The recv Copies a remote file to the local computer using the current file transfer type. Recv is identical to get. This command followed by the parameters are 'remote-file and local-file'. The remote-file specifies the remote file to copy and the local-file specifies the name to use on the local computer. If not specified, the file is given the remote-file name.

The Syntax is

Exhibit 3.16. Syntax of "recv" command

 
 recv remote-file [local-file]  


The example is

Exhibit 3.17. Example of "recv" command

   
 sysaxftp> recv

 Remote file: msg.txt
 Local file: msg.txt
 TYPE I
 200 Command okay
 MDTM msg.txt
 213 20040420214244
 SIZE msg.txt
 213 1452
 PASV
 227 Entering Passive Mode (192,168,0,46,39,19)
 RETR msg.txt
 150 File status okay; about to open data connection
 226 Closing data connection

 sysaxftp>