Link to home
Start Free TrialLog in
Avatar of EESky
EESky

asked on

Using ftp server transfers router ios to ftp server

Hi Expert

I have a problem when I try totransfer a router’s ios to ftp server. I got the following info. I set upusername and password in the cisco router, which are same with username andpassword in ftp server(FileZilla). The router interface ip address is 10.1.1.2and ftp server ip address is 10.1.1.1(my PC). The router and PC can ping each other. After I used copy command, I goterror message --- Incorrect Login/Password. Any expert can give me somesuggestion ? Thank you.

Abc#ip ftp username cisco
Abc#ip ftp password cisco
 
Abc#copy flash: ftp
Source filename [c2900-universalk9-mz.SPA.bin]?
Address or name of remote host[]? 10.1.1.1
Destination filename [c2900-universalk9-mz.SPA.bin]?
Writing c2900-universalk9-mz.SPA.bin
%Error opening ftp://10.1.1.1/c2900-universalk9-mz.SPA.bin(Incorrect Login/Password)
ASKER CERTIFIED SOLUTION
Avatar of dmwynne
dmwynne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pete Long
Why not simply use TFTP?

Then issue a copy flash tftp command and follow the prompts?


Pete
Use the URL like this...

ftp://username:password@10.1.1.1/c2900-universalk9-mz.SPA.bin
Avatar of EESky
EESky

ASKER

@Administrator-----eenookami, That was is because EE website always told me that i was not successful to submit my reply and gave me an error message after i submitted
you must configure the default ftp username and password.

run config t , then run these lines. be sure to change the italic username and password with the correct user and password.

ip ftp password password
ip ftp username username

then you should be able to run copy flash
Avatar of EESky

ASKER

@dmwynne, you are right. I can not login when i browse ftp://10.1.1.1 with Google browser, which means the password and username are incorrect. But I reset the username and password in the server, why is the problem still there ? I tried several different username, but it still does work. The default username is admin ? Thank you.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of EESky

ASKER

I did it exactly based on your link. But it still cannot work. Do you think it is Macfee problem, which is installed in my PC? But ping is not problem. The port 21 is also open. This FileZilla is second ftp server software that I am trying. The previous one has the same issue with this.
I would disable McAfee temporarily while you try this.
To verify the port is open from another machine telnet 10.1.1.1 21 or use putty, if it lets you connect you know it open if not it could be your firewall.

When you tried with the browser did you get the username / password prompt?
Avatar of EESky

ASKER

Thank all of you. All that you said are right. The PC is in the domain system. After giving authentication, It started to work out. Thank you!