Copy flash tftp

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View
When I "Copy flash tftp" the copy fails. I can copy star without
failure. I have tried 3 tftp programs and all fail. Can some one
explain what the problem is??

Re: Copy flash tftp
Quoted text here. Click to load it

check permission to write to tftp program.

Re: Copy flash tftp

Quoted text here. Click to load it

Re: Copy flash tftp
Thanks for your help.
I looked in at the ios file and it has "RW" access. Is there such a
access level as a "Copy"? As I understand it read and write includes
the right to copy the file. The problem is on the router with the file
not the "TFTP" server. I can copy run star to the TFTP servers with no
problems.  Problem is only when I try to back up the IOS from flash.

User Access Verification

Password:
cis2514>en
Password:
cis2514#]
% Unknown command or computer name, or unable to find computer address
cis2514#
cis2514#sh flash

System flash directory:
File  Length   Name/status
  1   8083776  /c2500-c-l.122-26.bin
[8083840 bytes used, 304764 available, 8388604 total]
8192K bytes of processor board System flash (Read ONLY)

cis2514#dir
Directory of flash:/

    1  -rw-     8083776                    <no date>
/c2500-c-l.122-26.bin

8388604 bytes total (304764 bytes free)
cis2514#copy flash tftp
Source filename []? c2500-c-1.122-26.bin
Address or name of remote host []? 192.168.0.2
Destination filename [c2500-c-1.122-26.bin]?
%Error opening flash:c2500-c-1.122-26.bin (No such file or directory)
cis2514#copy flash tftp
Source filename [c2500-c-1.122-26.bin]?
Address or name of remote host []? 192.168.0.2
Destination filename [c2500-c-1.122-26.bin]?
%Error opening flash:c2500-c-1.122-26.bin (No such file or directory)
cis2514#copy flash tftp
Source filename [c2500-c-1.122-26.bin]?
Address or name of remote host []? 192.168.0.2
Destination filename [c2500-c-1.122-26.bin]? c2500-c-1.122-26.bin
%Error opening flash:c2500-c-1.122-26.bin (No such file or directory)
cis2514#pwd
flash:
cis2514#copy run tftp
Address or name of remote host []? 192.168.0.2
Destination filename [cis2514-confg]?
!!
886 bytes copied in 9.108 secs (97 bytes/sec)
cis2514#






Quoted text here. Click to load it

Re: Copy flash tftp
Quoted text here. Click to load it
<no date>
Quoted text here. Click to load it

 1  -rw-     8083776                    <no date>
/c2500-c-l.122-26.bin


8388604 bytes total (304764 bytes free)
cis2514#copy flash tftp
Source filename []? c2500-c-1.122-26.bin

check your spelling - in flash the file name is c2500-c-l ( that is
L ) and when you tftp you are using the number 1.

Greg Perry
A+, N+, MCSA, CNA

Re: Copy flash tftp


Thanks a lot!!!!


Quoted text here. Click to load it

Re: Copy flash tftp
Is there any file existing on tftp server that has the same name as one on
flash????


Quoted text here. Click to load it

check permission to write to tftp program.



Re: Copy flash tftp
Some TFTP server softwares have an option to allow or not allow files to
overwrite other files.  File and directory permissions on the server hosting
the TFTP program are another consideration.  Allow "Everyone" to read,
write, and modify files if needed.
Examine the TFTP server program by looking into log messages that it may
produce.

Also look into the syntax of your copy command.  Consider being more
specific in the command.
EXAMPLE:
     copy flash:filename tftp://192.168.0.1/images/filename

-----
Scott Perry
Indianapolis, IN
-----

Quoted text here. Click to load it



Re: Copy flash tftp
Thanks for your help.
I looked in at the ios file and it has "RW" access. Is there such a
access level as a "Copy"? As I understand it read and write includes
the right to copy the file. The problem is on the router with the file
not the "TFTP" server. I can copy run star to the TFTP servers with no
problems.  Problem is only when I try to back up the IOS from flash.



Quoted text here. Click to load it

Re: Copy flash tftp

Quoted text here. Click to load it

Hi
The best solution (IMHO) on most tftp servers is to create an empty file
using the same name as you try to upload (don't forget set permissons to
write to this file).

--
bleetz



Re: Copy flash tftp


If you haven't figured this one out yet, the filename on the flash is
/c2500-c-l.122-26.bin and not c2500-c-l.122-26.bin.
Quoted text here. Click to load it



Site Timeline