Juniper FTP – FTP File Copy Command in Juniper Showing Error

juniper-junos

I Have two Juniper ACX 2200 Series Routers connected back to back and One Router running latest OS, But other is running Old OS,

I want to copy Latest OS from One Junos to another Junos Router,

I enabled FTP On both Routers

[edit system services ftp]
set rate-limit 2
set connection-limit 2

And Used The Command

ikar@hostname> file copy ftp://ikar:ikar123@172.22.36.113/var/tmp/jinstall-ppc-15.1X54-D36.2-domestic.tgz /var/tmp

And I got the Below Error

fetch: ftp://ikar:*@172.22.36.113/var/tmp/jinstall-ppc-15.1X54-D36.2-domestic.tgz: File unavailable (e.g., file not found, no access)
error: file-fetch failed
error: could not fetch local copy of file

User : ikar has Super-user privilages.

Best Answer

If you are having problems in getting the URL right, jump into the FreeBSD shell (using "start shell") and do the ftp from there:

user@router> start shell
% ftp 192.168.254.254
Connected to 192.168.254.254.
220 router FTP server (Version 6.00LS) ready.
Name (192.168.254.254:user): user
331 Password required for user.
Password:
230 User user logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bin
200 Type set to I.
ftp> get <file>