Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

TCLSH - Cannot open file in bootflash

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

Everyone's tags (2)
1 REPLY
Cisco Employee

Try: set myfile [open "

Try:

 

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

164
Views
5
Helpful
1
Replies
CreatePlease to create content