Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 15:29:59 -0500
From:      "Chad Leigh, Pengar Enterprises, Inc & Shire.Net LLC" <chad@pengar.com>
To:        "Fee, Doug" <doug.fee@unisys.com>, "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: FTP to Mainframe Question
Message-ID:  <3430455996.982682999@[192.168.99.123]>
In-Reply-To: <ABBC508F9A30D3119E7200105A1770FBFAE418@us-fft-exch-1.frf.unisys.com>

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

Do a

ftp>  bin

command which tells it to send as a binary file instead of an ascii file. 
FTP will do end of line correction on ascii files depending on what sort of 
host server you are running.

Chad

--On Tuesday, February 20, 2001 2:10 PM -0600 "Fee, Doug" 
<doug.fee@unisys.com> wrote:

> Does anyone know how to strip off the newline character from each record
> when sending a file to a mainframe?  For example,
>
> I have a file on my FreeBSD box that is fixed length and I need to ftp it
> to my mainframe.  If I ftp it normally (after running it through dd to
> convert it from ascii to ebcdic) when I look at the data set on the
> mainframe I have my newline character also, it shows up as a period (.).
>
> I need to get rid of the newline characters since the mainframe don't use
> them.
>
> Any ideas?
>
> Thanks,
> Doug Fee
> Network Design Engineer
> Unisys Corporation
> doug.fee@unisys.com
> 502-226-2143
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message



Pengar Enterprises, Inc. and Shire.Net LLC
Web and Macintosh Consulting -- full service web hosting
Chad Leigh	
chad@pengar.com			chad@shire.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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