cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2396
Views
5
Helpful
7
Replies

Switch c2950 iso copy issue to TFTP

MT-Test-01#copy flash1: tftp
Source filename []? c2960x-universalk9-mz.150-2.EX5
Address or name of remote host []? 192.1.2.200
Destination filename [c2960x-universalk9-mz.150-2.EX5]?
%Error reading flash:c2960x-universalk9-mz.150-2.EX5 (Is a directory)


MT-Test-01#copy flash: tftp
Source filename [c2960x-universalk9-mz.150-2.EX5]? c2960x-universalk9-mz.150-2.EAddress or name of remote host []? 192.1.2.200
Destination filename [c2960x-universalk9-mz.150-2.EX5]? c2960x-universalk9-mz.150-2.EX5
%Error reading flash:c2960x-universalk9-mz.150-2.EX5 (Is a directory)

i am facing issue to copy ios to tftp server while i can copy vlan.dat file with same command. 

1 Accepted Solution

Accepted Solutions

Forgetting the .bin extension is one way of looking at the issue. The error message indicates that the string input to the command is a directory and not a file. So for the copy command to work the original poster will need to input the path to the file (directory entry, plus file name, and .bin).

HTH

Rick

HTH

Rick

View solution in original post

7 Replies 7

blopez007
Level 1
Level 1

Dir flash:

Did you forget .bin extension?

Forgetting the .bin extension is one way of looking at the issue. The error message indicates that the string input to the command is a directory and not a file. So for the copy command to work the original poster will need to input the path to the file (directory entry, plus file name, and .bin).

HTH

Rick

HTH

Rick

Thank You very much, now i successfully copy IOS

Thanks for posting back to the forum and letting us know that now you are successful in copying IOS.

HTH

Rick

HTH

Rick

Directory of flash:/

2 -rwx 2204 Oct 20 2016 20:31:56 +00:00 vlan.dat.renamed
3 -rwx 2270 Apr 2 2015 10:58:15 +00:00 express_setup.debug
4 -rwx 15371 Oct 22 2016 15:39:35 +00:00 config.text.renamed
5 -rwx 3827 Oct 22 2016 15:39:35 +00:00 private-config.text.renamed
6 -rwx 12078 May 12 2015 13:33:54 +00:00 config.text.backup
7 -rwx 1916 May 12 2015 13:33:55 +00:00 private-config.text.backup
8 -rwx 1922 Oct 23 2016 11:15:12 +00:00 private-config.text
9 drwx 512 Nov 8 2014 21:04:59 +00:00 c2960x-universalk9-mz.150-2.EX5
648 drwx 512 Nov 8 2014 21:05:00 +00:00 dc_profile_dir
650 -rwx 3096 Oct 23 2016 11:15:12 +00:00 multiple-fs
652 -rwx 2204 Oct 22 2016 16:06:05 +00:00 vlan.dat
653 -rwx 15485 Oct 23 2016 11:15:12 +00:00 config.text

122185728 bytes total (98647552 bytes free)
MT-Test-01#cop
MT-Test-01#copy flas
MT-Test-01#copy flash tftp
Source filename [c2960x-universalk9-mz.150-2.EX5.bin]? c2960x-universalk9-mz.150-2.EX5.bin
Address or name of remote host []? 192.1.2.200
Destination filename [c2960x-universalk9-mz.150-2.EX5.bin]? c2960x-universalk9-mz.150-2.EX5.bin
%Error opening flash:c2960x-universalk9-mz.150-2.EX5.bin (No such file or directory)
MT-Test-01#

with file extension please find above.

Ejemplo

copy flash:/c2960x-universalk9-mz.150-2a.EX5/c2960x-universalk9-mz.150-2a.EX5.bin tftp

rifas
Level 1
Level 1

Error reading flash:c2960x-universalk9-mz.150-2.EX5 (Is a directory) while copy ios image from switch to TFTP server

 

Review Cisco Networking for a $25 gift card