From owner-freebsd-questions Thu Feb 19 10:27:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26051 for freebsd-questions-outgoing; Thu, 19 Feb 1998 10:27:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kaori.communique.net (kaori.communique.net [204.27.67.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA26018 for ; Thu, 19 Feb 1998 10:26:39 -0800 (PST) (envelope-from mango@staff.communique.net) Received: by kaori.communique.net with Internet Mail Service (5.0.1458.49) id ; Thu, 19 Feb 1998 12:26:12 -0600 Message-ID: From: Raul Zighelboim To: George Vagner , questions@FreeBSD.ORG Subject: RE: auto ftp upload Date: Thu, 19 Feb 1998 12:26:08 -0600 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You could check the ftp man page: (man ftp).. in particular the section about the .netrc file. An example nrt follows: $ cat .netrc machine ftp.ascend.com login ftp password mango@cmq.com macdef init cd /pub/Software-Releases dir You get the idea... ================================================== Raul Zighelboim mango@staff.communique.net > At 09:01 AM 2/19/98 -0600, George Vagner wrote: > >I asked a while back but it must have been overlooked. > > > >i want to automatically upload a file using ftp to a web site > >without user intervention but i dont know the syntax to pass the file > to the > >ftp program. > > > >i was able to get the ftp> prompt but i want it to upoad the file > >automatically. > > > >can someone give me some insight on this ? > > > > > > > > > >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message