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://22.214.171.124/ftp/fetch: ftp://126.96.36.199/ftp/juniper.conf.gz: Not logged inerror: put-file failederror: could not send local copy of file
Where 188.8.131.52 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
184.108.40.206 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.