Description

This article provides information on how to transfer files from one host to another host via File Transfer Protocol (FTP), which is a standard network protocol.

Symptoms

How to transfer files from one host to another host via File Transfer Protocol (FTP), which is a standard network protocol.

Solution


The following commands show how to obtain and place a file on EX-series switches:

  • The following command is an example of how to obtain a file from the 10.130.35.84 host and transfer it to the /var/tmp directory on the EX switch:
    user@switch> file copy ftp://[email protected]/jinstall-ex-3200-10.4R2.6-domestic-signed.tgz /var/tmp
    The following excerpt illustrates that the file was successfully transferred:
    user@switch> ...tall-ex-3200-10.4R2.6-domestic-signed.tgz /var/tmp
    Password for [email protected]:
    /var/tmp//...transferring.file.........YJdxyT/100% of 120 MB 4127 kBps 00m00s
    
  • The following command is an example of transferring a file, which is obtained from the /var/tmp directory on the EX switch, to the 10.130.35.84 host:
    user@switch> file copy /var/tmp ftp://[email protected]/jinstall-ex-3200-10.4R2.6-domestic-signed.tgz