misc/65045: ftp doesn't remember binary mode if setting at command line

Colin Harford colin.harford at ualberta.ca
Thu Apr 1 11:30:20 PST 2004


>Number:         65045
>Category:       misc
>Synopsis:       ftp doesn't remember binary mode if setting at command line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 01 11:30:19 PST 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list