From nobody@FreeBSD.org  Thu Apr  1 11:26:51 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B49B416A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Apr 2004 11:26:51 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AEB3843D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Apr 2004 11:26:51 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i31JQp72097564
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 1 Apr 2004 11:26:51 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i31JQpxj097563;
	Thu, 1 Apr 2004 11:26:51 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200404011926.i31JQpxj097563@www.freebsd.org>
Date: Thu, 1 Apr 2004 11:26:51 -0800 (PST)
From: Colin Harford <colin.harford@ualberta.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ftp doesn't remember binary mode if setting at command line
X-Send-Pr-Version: www-2.3

>Number:         65045
>Category:       bin
>Synopsis:       ftp doesn't remember binary mode if setting at command line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    antoine
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 01 11:30:19 PST 2004
>Closed-Date:    Wed May 07 12:16:14 UTC 2008
>Last-Modified:  Wed May 07 12:16:14 UTC 2008
>Originator:     Colin Harford
>Release:        FreeBSD 5.2.1
>Organization:
University of Alberta
>Environment:
5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 25 19:38:21 MST 2004     root@chronus:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
      If you call ftp with binary mode, ie:

ftp --binary server
or ftp -inv --binary

it does not set binary mode for doing the transfer.

You must set binary after the connection is established for it to work.
>How-To-Repeat:
      ftp a tar file to a Windows FTP server, when setting binary when you call ftp.  ie: ftp --binary my.windows.server.  Then try to open the tar file.
>Fix:
      Have ftp remember options that are set when starting the ftp client.



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: antoine 
State-Changed-When: Wed May 7 12:14:21 UTC 2008 
State-Changed-Why:  
Close: ftp(1) does not have a --binary option. 
(noticed by brucec) 


Responsible-Changed-From-To: freebsd-bugs->antoine 
Responsible-Changed-By: antoine 
Responsible-Changed-When: Wed May 7 12:14:21 UTC 2008 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65045 
>Unformatted:
