03-15-2023 08:12 AM
Hi.
I'm having a syntax problem. May you please assist? Thank you!
FACT: It is possible that the FTP string is not correctly configured within the ftp server. I think this is a switch syntax issue.
archive download-sw [ /directory ] /overwrite /reload ftp: [[ // username[:password ] @location ]/ directory ] / image-name1 .tar [ image-name2 .tar image-name3 .tar image-name4 .tar ]
Example: Switch# archive download-sw /overwrite /reload ftp:172.20.10.30/saved/myImage.tar
------
when I input...
archive download-sw /leave-old-sw ftp://myusername mypassword @172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin
... I receive the error...
Translating "myusername"...domain server (255.255.255.255)
---
When I input... archive download-sw /leave-old-sw ftp:// myusername mypassword @172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin
...I receive error...
"archive download-sw /leave-old-sw ftp:// myusername mypassword @172.16.5.1/os/ ^c2960x-universalk9-mz.152-7.E7.bin
% Invalid input detected at '^' marker.
---
May you please provide correct syntax? Thank you.
Solved! Go to Solution.
03-15-2023 08:16 AM
ftp:// myusername:mypassword@172.16.5.1 (make sure use username:password)
when you pasting, there is no spaces should be there
archive download-sw /leave-old-sw ftp://myusername:mypassword@172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin
03-15-2023 08:16 AM
ftp:// myusername:mypassword@172.16.5.1 (make sure use username:password)
when you pasting, there is no spaces should be there
archive download-sw /leave-old-sw ftp://myusername:mypassword@172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide