思科“复制启动configurationTFTP”结果在服务器上的一个0字节的文件?

我把我的头发弄出来搞清楚了。 我的启动configuration是好的,我可以用show命令查看它。 我试图将其复制到tftp服务器:

asa5505# copy startup-config tftp Address or name of remote host []? ipaddress Destination filename [startup-config]? t !! %Error writing tftp://ipaddress/t (Timed out attempting to connect) 

在我的TFTP服务器(SolarWinds)上,我得到以下内容:

 binary, PUT. Started file name: C:\TFTP-Root\t binary, PUT. File Exists, C:\TFTP-Root\t binary, PUT. Deleting Existing File. binary, PUT. Interrupted by client, cause: The process cannot access the file 'C:\TFTP-Root\t' because it is being used by another process 

我用tftpd32有相同的结果。 我已经尝试了不同的服务器,即使是在同一个networking上的asa …相同的结果。 它会创build一个0字节的文件,永远不会做转储。 这是怎么回事? 除此之外,一切正常。

看起来问题的答案是正确的:

 binary, PUT. Interrupted by client, cause: The process cannot access the file 'C:\TFTP-Root\t' because it is being used by another process 

这是TFTP服务器的问题。 修复它。

没有Windows TFTP服务器的经验,但在Debian上使用tftpd-hpa,在Mac OS X上使用内置的TFTP服务器,我发现我必须首先创build文件,使其成为可写的,然后从IOS中推送tftp文件。

然后它的工作。

您可能必须在Cisco命令中指定一些或部分TFTP服务器端path。 我有一段时间没有这样做。 但我记得有一个TFTP服务器,有规则,你只能写入一个子目录。 所以它的TFTP目录像/ usr / tftp一样被写入home,只有/ usr / tftp / incoming才允许写入,并且(这在你的情况下似乎没有问题),它只允许你写入文件。 所以我必须先在TFTP服务器上“触摸”一个文件(例如,在我的例子中是'cisco.config')。 然后在思科我不得不说…

 copy conf tftp host.example.com incoming/cisco.config 

…所以我的“答案”是:检查你指定的TFTP服务器期望的任何相对path。 其他的TFTP客户端可能会在幕后为您做。 。 。

你删除了吗?

C:\ TFTP-ROOT \ t

在TFTP之前复制?

看起来这个文件已经存在,并被其他进程locking,所以TFTP不能重写。

您是否尝试过弃用的write net复制到TFTP?