Bug 65045

Summary: ftp doesn't remember binary mode if setting at command line
Product: Base System Reporter: Colin Harford <colin.harford>
Component: binAssignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Colin Harford 2004-04-01 20:30:19 UTC
      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.

Fix: 

Have ftp remember options that are set when starting the ftp client.
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.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2008-05-07 13:14:21 UTC
State Changed
From-To: open->closed

Close: ftp(1) does not have a --binary option. 
(noticed by brucec) 


Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2008-05-07 13:14:21 UTC
Responsible Changed
From-To: freebsd-bugs->antoine

Track.