<< back to sysax.com Product page

4.3.5. Send One File

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

The Syntax is

Exhibit 4.17. Syntax of "send" command

 
 send local-file [remote-file]  


The example is

Exhibit 4.18. Example of "send" command


 sysaxftp> send
  
 Local file: 2008jan17.txt
 Remote file: Normal.txt
 TYPE I
 200 Command okay
 SIZE Normal.txt
 213 3942
 PASV
 227 Entering Passive Mode (192,168,0,46,39,17)
 STOR Normal.txt
 150 File status okay; about to open data connection
 226 Closing data connection
 MDTM 20080116200858 Normal.txt
 200 File time set

 sysaxftp>