From owner-freebsd-questions Mon Nov 29 13:16: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from demo.telefonica.com.pe (kheops.demo.telefonica.com.pe [200.37.84.130]) by hub.freebsd.org (Postfix) with ESMTP id DBF8714A1C for ; Mon, 29 Nov 1999 13:15:44 -0800 (PST) (envelope-from rcc@demo.telefonica.com.pe) Received: from elcsa20008 (dbase [200.37.84.135]) by demo.telefonica.com.pe (8.9.3/8.9.3) with SMTP id QAA24438 for ; Mon, 29 Nov 1999 16:17:34 +0500 (GMT) Message-ID: <006a01bf3aae$e509f9e0$4d01190a@tp.com.pe> From: "Richard Cotrina" To: References: <001f01bf3a78$46b7f250$4d01190a@tp.com.pe> Subject: RE: tftpd put error message Date: Mon, 29 Nov 1999 16:15:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To: 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