<< back to sysax.com Product page

3.7. Send Multiple Files

The mput Copies one or more local files to the remote computer using the current file transfer type. This command is followed by the parameter 'local-files'. The local-files specifies the local files to copy to the remote computer.

The Syntax is

Exhibit 3.10. Syntax of "mput" command

 mput local-files [,,,]

The example is

Exhibit 3.11. Example of "mput" command

  ftp> put

 Local file msg.txt
 Remote file dbg4.txt
 200 Command okay
 150 File status okay; about to open data connection
 226 Closing data connection
 ftp: 140 bytes sent in 0.00Seconds 140000.00Kbytes/sec.