12-05-2022 08:48 PM
Hi Team,
we have a Cisco router with version Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.5(3)M9, RELEASE SOFTWARE (fc1)
Model - CISCO2921/K9
we are unable to copy file from Flash to FTP server.
When we execute following command, Putty will not showing any output(even no error message) and no further command can be executed on the gateway.
copy flash:filename ftp://username:password@xxx.xxx.xx.xx/
Please help me on this.
12-06-2022 02:33 AM
Are you able, to copy files the other way round? So, from FTP to the router?
Have you maybe set the "ip tftp-source interface" to the wrong interface?
If this is possible in your FTP-server: Do you see any connections in the logs or so, when the router tries to connect?
12-06-2022 05:22 AM
Suggestion: Set the username and password for the FTP server in global config, and then use the copy dialog to complete the transaction.
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ip ftp username <username>
Router1(config)#ip ftp password <password>
Router1(config)#end
Router1#copy flash:<filename> ftp:
<and then use the dialog to complete the transaction>
Maren
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