cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1846
Views
5
Helpful
1
Replies

TCLSH - Cannot open file in bootflash

davidmoreno69
Level 1
Level 1

Hello Guys -

I am trying TCLSH for the first time. I want to perform a multiple file copy from TFTP.

The device I am working on is a Nexus 7000.

 

First step is to open a text file that contains the list of files I want to copy. This text file is in bootflash and was downloaded there via TFTP.

I tried to open the txt file but TCLSH returns an error:

Permission denied. couldn't open "/pruebaDavid": permission denied


The command I tried is:

set myfile [open /pruebaDavid r+]

Do you know what I am doing wrong or why this is not working?

Thanks in advance

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Try:

 

set myfile [open "/bootflash/pruebaDavid" r+]