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

TCLSH - Cannot open file in bootflash

davidmoreno69
Beginner
Beginner

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
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame Cisco Employee

Try:

 

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers