FTP files from Juniper to FTP server

Transfer files

Last published at: August 7th, 2024

start shell user root (root credentials are stored in 1Password)

If needing to send in the /var/log to Juniper support, I did this.

 

use tar -cf /tmp/filename /var/log

EXAMPLE: tar -cf /tmp/Logs.tar /var/log

This will create the tarball for the /var/log directory which can then be FTP'd over to an ftp server

Navigate to the directory which you stored your tar file, for me it was /tmp

Then I used the command ftp juniper@10.71.0.30 and used the credentials in 1Password to connect.

Next use command put filename