11-22-2016 04:07 AM - edited 03-08-2019 08:15 AM
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.
Solved! Go to Solution.
11-22-2016 06:07 AM
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
11-22-2016 04:17 AM
Dir flash:
Did you forget .bin extension?
11-22-2016 06:07 AM
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
11-23-2016 01:09 AM
Thank You very much, now i successfully copy IOS
11-23-2016 06:19 AM
Thanks for posting back to the forum and letting us know that now you are successful in copying IOS.
HTH
Rick
11-23-2016 01:08 AM
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.
03-04-2020 07:15 AM
09-26-2024 12:31 AM
Error reading flash:c2960x-universalk9-mz.150-2.EX5 (Is a directory) while copy ios image from switch to TFTP server
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide