This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Error writing tftp: what did I do wrong?

I am using SolarWinds TFTP server installed on my work laptop. I believe I have it configured correctly and it starts up fine. I go into the GUI for my CISCO switch and try to to save the running-config to my TFTP server (laptop), I get the following error from the GUI:

[ERROR] copy /noconfirm running-config tftp://192.168.10.45/C:\TFTP

  Cryptochecksum: 03cf6e50 7a818788 6e0a5227 f983df7d

!!!!!

%Error writing tftp://192.168.10.45/C:\TFTP (Timed out attempting to connect)

And the following displays on my TFTP server window:

, binary, PUT. Bailing out to bad characters in Filename: 'C:\TFTP'.

, netascii, PUT, Transmission failed. Illegal characters in path

I configured the target location in the GUI for the switch as the correct IP address for my laptop and the correct folder to save it to (shown above).

What is illegal about the path?

r

  • This command is incorrect: copy /noconfirm running-config tftp://192.168.10.45/C:\TFTP

    The TFTP server is set to have one folder as TFTP root folder. This one is accessible to remote clients as tftp://192.168.10.45/. If you want a file to be uploaded, you need to name it, and its address will be tftp://192.168.10.45/myfile.txt. If you look at the command you entered, you are basically trying to save a file named "C:\TFTP", which cannot be created on a Windows system (colon and backslash are not allowed in file names). Try changing the command to

    copy /noconfirm running-config tftp://192.168.10.45/my-running-config

  • I tried your suggestion. From the command line interface, this was the result:

    Result of the command: "copy /noconfirm running-config tftp://192.168.10.45/my-running-config"

    Cryptochecksum: 7d8a9b16 7d505617 bfa67e65 7d2d897b

    !!!!!

    %Error writing tftp://192.168.10.45/my-running-config (Timed out attempting to connect)

    From the SW TFTP server interface this is the result:

    ...PUT, Files exists, C:\TFTP\my-running-config.

    ...PUT, deleting existing file.

    ...PUT, Started, file name:C\TFTP\my-running-config.

    ...PUT, Files exists, C:\TFTP\my-running-config.

    ...PUT, deleting existing file.

    ans so on ans so forth.

    The end result is a 0kb file in the TFTP folder named my-running-config.

    Any ideas?

    r

  • I got it. Subsequently to the original question (I was attempting to do it via my wireless connection), I had to use a hard connection to the network. DOH, it's a different IP address for the adapter. I changed the IP address to coincide with the hardline and it worked!

    Thanks,

    r