From owner-freebsd-questions Mon Aug 27 8:31:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 4AC4F37B406 for ; Mon, 27 Aug 2001 08:31:40 -0700 (PDT) (envelope-from jacks@sage-american.com) Received: from sageone (ppp-208-191-234-75.dialup.crchtx.swbell.net [208.191.234.75]) by sage-american.com (8.9.3/8.9.3) with SMTP id KAA05480; Mon, 27 Aug 2001 10:31:13 -0500 (CDT) Message-Id: <3.0.5.32.20010827103132.01151810@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 27 Aug 2001 10:31:32 -0500 To: Edwin Groothuis , Odhiambo Washington From: jacks@sage-american.com Subject: Re: FTP Auto-Send Need Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20010827155009.O29424@k7.mavetju.org> References: <20010827084409.D3234@ns2.wananchi.com> <3.0.5.32.20010826102823.01151810@mail.sage-american.com> <20010827080143.D29422@k7.mavetju.org> <20010827084409.D3234@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Edwin: Thanks, but I have my solution to this which is working great now.... At 03:50 PM 8.27.2001 +1000, Edwin Groothuis wrote: >On Mon, Aug 27, 2001 at 08:44:09AM +0300, Odhiambo Washington wrote: >> * Edwin Groothuis [20010827 01:01]: writing on the subject 'Re: FTP Auto-Send Need' >> | On Sun, Aug 26, 2001 at 10:28:23AM -0500, jacks@sage-american.com wrote: >> | > I have an FTP question that is probably simple for some, but is maddening >> | > for me since I have yet to get an FTP command (and a script) to work >> | > properly. I have read/reread "man ftp", but no solution yet. Here is the >> | > problem: >> | >> | Use this as .netrc: >> | >> | machine yourmachine >> | login youruserid >> | password yourpassword >> | >> | macdef blaat >> | cd temp >> | pwd >> | put .profile profile >> | quit >> | >> | and as command: "echo '$ blaat' | ftp localhost". The apostrophes are to make sure the $ doesn't get expanded by the shell. >> | >> | enjoy, >> | Edwin >> >> >> While trying this >> >> >> wash:~$ echo '$ blaat' | ftp -d longonot >> Macro definition missing null line terminator. >> ---> SYST >> Please login with USER and PASS. >> 'blaat' macro not found. >> ---> QUIT >> wash:~$ > >well, unfortunatly for you I've lost my crystal ball, so I don't >know what's in your .netrc and as a result I have no clue what >could be wrong there. If you would like an answer from me, you >should at least include some information about it, giving me nothing >is as usefull as complaining about the weather. > >Edwin > >-- >Edwin Groothuis | Personal website: http://www.MavEtJu.org >edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: >------------------+ http://www.FatalDimensions.org/ > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message