Unix Technical Forum

Re: https support for ftp(1)

This is a discussion on Re: https support for ftp(1) within the lucky.openbsd.tech forums, part of the OpenBSD category; --> On Mon, May 15, 2006 at 01:43:53PM +0200, Rainer Giedat wrote: > Hi, > > On Wed, May 10, ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 01:27 PM
Jason McIntyre
 
Posts: n/a
Default Re: https support for ftp(1)

On Mon, May 15, 2006 at 01:43:53PM +0200, Rainer Giedat wrote:
> Hi,
>
> On Wed, May 10, 2006 at 11:09:16PM -0600, Theo de Raadt wrote:
> > I am going to say "let's ignore the verification issue", and let
> > it go in. But it must be fixed so that it fits onto the ramdisks,
> > which means that -DSMALL must knock it out.

> Done. The binary compiled with -DSMALL is only 80 bytes bigger on i386
> than before, after moveing #ifndef SMALL to better positions (it was 480
> bytes bigger before).
>


i'm not sure it's necessary to list https: requests separately. it is
just an extension, and synopsis is big enough already.

how about the following (usage() would need fixed too):

Index: ftp.1
================================================== =================
RCS file: /cvs/src/usr.bin/ftp/ftp.1,v
retrieving revision 1.53
diff -u -r1.53 ftp.1
--- ftp.1 21 Sep 2005 22:31:47 -0000 1.53
+++ ftp.1 15 May 2006 12:15:47 -0000
@@ -71,7 +71,7 @@
remote network site.
.Pp
The latter three usage formats will fetch a file using either the
-HTTP or FTP protocols into the current directory.
+FTP, HTTP, or HTTPS protocols into the current directory.
This is ideal for scripts.
Refer to
.Sx AUTO-FETCHING FILES
@@ -1132,10 +1132,12 @@
with a password of
.Ar password .
.It http://host[ort]/file
-An HTTP URL, retrieved using the HTTP protocol.
+An HTTP(S) URL, retrieved using the HTTP(S) protocol.
If
.Ev http_proxy
-is defined, it is used as a URL to an HTTP proxy server.
+is defined, it is used as a URL to an HTTP(S) proxy server.
+For HTTPS requests, the prefix must be
+.Dq https: .
.El
.Pp
If a classic format or an FTP URL format has a trailing
@@ -1492,7 +1494,7 @@
URL of FTP proxy to use when making FTP URL requests
(if not defined, use the standard FTP protocol).
.It Ev http_proxy
-URL of HTTP proxy to use when making HTTP URL requests.
+URL of HTTP(S) proxy to use when making HTTP(S) URL requests.
.El
.Sh PORT ALLOCATION
For active mode data connections,

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com