Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 11:26:51 -0800 (PST)
From:      Colin Harford <colin.harford@ualberta.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/65045: ftp doesn't remember binary mode if setting at command line
Message-ID:  <200404011926.i31JQpxj097563@www.freebsd.org>
Resent-Message-ID: <200404011930.i31JUJmT078349@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404011926.i31JQpxj097563>