cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
446
Views
0
Helpful
1
Replies

Deleting CSS 11050 Upgrade File

marc.fontenot
Level 1
Level 1

A customer was upgrading a CSS 11050 by doing an ftp put on the CSS 11050. The first time he executed the put command he put the upgrade file in the default ftp directory. He didn't specify "../filename" so that the file would go into the correct directory. He now wants to delete this file. How can he (1) display the directory contents from the CLI to show that the file exists and (2) delete that file from the CLI. He knows the file is on the CSS because from the FTP session you could do a "dir" command and the file name was displayed. Thanks for the help in advance.

1 Reply 1

stevehall
Level 1
Level 1

Marc,

you can see the directories and files by going into debugt mode:

CSS50-2# llama

CSS50-2(debug)# dir c:/?

Archive MAY 24 03:49:22

512

Core MAY 24 03:49:22

512

ap0500025s OCT 9 10:50:30

512

ap0500045 MAY 24 03:56:12

512

ap0500208s OCT 20 11:32:18

512

CSS50-2(debug)# dir c:/ap0500208s/?

. OCT 20 11:32:18

512

.. OCT 20 11:32:18

512

cli OCT 20 11:32:18

512

core OCT 20 11:32:54

512

images OCT 20 11:32:54

512

info OCT 20 11:33:58

512

log OCT 20 11:33:58

512

mibs OCT 20 11:33:58

512

script OCT 20 11:34:06

512

web OCT 20 11:34:10

512

startup-config OCT 20 13:09:00 1049

CSS50-2(debug)# dir c:/ap0500208s/

you can delete files by using the ap_file command

CSS50-2(debug)# dir c:/ap0500208s/script/?

. OCT 20 11:34:06

512

.. OCT 20 11:34:06

512

ap-kal-dns OCT 20 11:34:06 1555

ap-kal-echo OCT 20 11:34:06 1920

ap-kal-finger OCT 20 11:34:06 1172

...

...

bad-file MAR 4 15:49:30 10

CSS50-2(debug)# ap_file delete c:/ap0500208s/script/bad-file

CSS50-2(debug)#

hope that helps

-Steve

Review Cisco Networking for a $25 gift card