Find the answer to your Linux question:
Results 1 to 4 of 4
When i try to put a file am getting the following error "root@linuxtestpc:/tftpboot# tftp 107.108.53.69 tftp> put hda.txt Error code 1: File not found tftp> quit" But get command is ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    36

    tftpboot error

    When i try to put a file am getting the following error


    "root@linuxtestpc:/tftpboot# tftp 107.108.53.69
    tftp> put hda.txt
    Error code 1: File not found
    tftp> quit"

    But get command is working fine...when i tried tftp localhost put command is working...also disabled firewall by ufw disable and also flushed the iptables...still same error...kindly assist me..Thank you

  2. #2
    Just Joined!
    Join Date
    Jul 2008
    Posts
    81
    Does the file hda.txt exist? Is it in the current directory?
    If it exists but is not in the current directory then you have to specify the full path to it.

    tftp> put /directory/where/file/is/hda.txt

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Location
    Madison WI
    Posts
    2
    Check the permissions on the tftp root directory. If they only allow read but not write, you will be able to get files but not put files.

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Posts
    36
    I did the following steps from the tftpboot directory as you can see from the message i posted above and also i gave full permissions..I think some sort of security is blocking it because in fedora if we try to do..we have to disable firewall,selinux and also we should enable the network service...but in ubuntu i have only an option to disable firewall..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...