Date: Mon, 29 Nov 1999 16:15:42 -0500 From: "Richard Cotrina" <rcc@demo.telefonica.com.pe> To: <freebsd-questions@FreeBSD.ORG> Subject: RE: tftpd put error message Message-ID: <006a01bf3aae$e509f9e0$4d01190a@tp.com.pe> References: <001f01bf3a78$46b7f250$4d01190a@tp.com.pe>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi again: Well, after a carefully reading, I found that tftp only write in its directory over existing files. Before the "put" command , I had to create a blank file in the tftpboot directory. $cd /tftpboot $ touch file.c $ cd /tmp ; ls file.c $ tftp locahost tftp> put file.c Sent 25 bytes in 0.5 seconds Is this a normal tftp behaviour ? Regards, Richard ----- Original Message ----- From: Richard Cotrina <rcc@demo.telefonica.com.pe> To: <freebsd-questions@FreeBSD.ORG> Sent: Monday, November 29, 1999 9:44 AM Subject: tftpd put error message > Hi all, > > I am in troubles trying to set up a tftp server in a 3.3-STABLE box. I need > it because i would like to backup cisco router's images. > > My inetd.conf have the line : > > tftp dgram udp wait root /usr/libexec/tftpd tftpd -s > /tftpboot > > I also put 777 mode to /tftpboot directory. > > The matter is that I can not write anything in the tftp directory. It gives > me just the following message when I try to do this: > > $ ls > file.c > $tftp localhost > tftp> > tfp > put file.c > Error code 1: File not found > > I also have tried to download an existing file form the tftp directory, and > I had no problems. > > Any suggestion ? > > Thanks in advance, > > Richard > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006a01bf3aae$e509f9e0$4d01190a>