From owner-freebsd-questions@freebsd.org Tue Mar 28 04:43:35 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4214D216CD for ; Tue, 28 Mar 2017 04:43:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49E48133 for ; Tue, 28 Mar 2017 04:43:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Tue, 28 Mar 2017 06:43:25 +0200 Received: from r56.edvax.de (port-92-195-127-117.dynamic.qsc.de [92.195.127.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2B7F63CC5C; Tue, 28 Mar 2017 06:43:25 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v2S4hP56002164; Tue, 28 Mar 2017 06:43:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 28 Mar 2017 06:43:25 +0200 From: Polytropon To: Ernie Luzar Cc: FreeBSD questions Subject: Re: http download using just what comes with base system Message-Id: <20170328064325.aa5997c7.freebsd@edvax.de> In-Reply-To: <58D96C81.30206@gmail.com> References: <58D96C81.30206@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 6EC246834C1 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1854 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 04:43:35 -0000 On Mon, 27 Mar 2017 15:48:17 -0400, Ernie Luzar wrote: > Does FreeBSD have a built-in command to perform a file download using > http. Want to build a script that downloads a file using http without > having to install some port or package. I think the "fetch" program is what you are looking for. But you can also use the "ftp" program which speaks HTTP as well. See "man fetch" and "man ftp" for details. Other popular programs which need to be installed are wget and curl, as those are not part of the OS. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...