I have SRX 240 firewall and I would like to back up the active configuration to my Ftp server. I have tried the below but couldnt.
root@FE-FW> file copy /config/juniper.conf.gz ftp://184.108.40.206/ftp/fetch: ftp://220.127.116.11/ftp/juniper.conf.gz: Not logged inerror: put-file failederror: could not send local copy of file
Where 18.104.22.168 is the FTP server and ftp is the directory.
My bad actually the passsword was wrong I have use the below command.
file copy /config/juniper.conf.gz ftp://tom:firstname.lastname@example.org
22.214.171.124 is the ftp server
After posting I have seen smily is comming in the syntax use : between user name and password
You also might be interested in the feature where you can send a config backup either on a schedule or on commit to an ftp or scp server automatically.