You can try adding carriage returns:
perl -pe 's/$/\r/' parts.txt >partscr.txt
and then send that
Or you can try putting it as a bytestream file
binary
quote type L 8
put parts.txt ../SPVWP/PARTSCHG
Larry Simonsen wrote:
>is send any different than put?
>
>here is the part of the script that does the transfer.
>
>ftp -v -n melap1<<EOF2
>user mgr.account,csvwp02 password
>ascii
>put parts.txt ../SPVWP/PARTSCHG;rec=-500,,f,ascii;disc=500000
>quote site stream prolstu.csvrpt40
>bye
>EOF2
>
>what is happening is the file only has 1 record in it and there is a
>warning message about records being truncated.
>
>-------------------------------------------------
>Larry Simonsen
>Sr. System Analyst
>Flowserve Corporation
>505 E. Technology Ave.
>Bldg. C, Suite 3100
>Orem, UT 84097
>Phone: 801-437-3737
>Fax: 801-491-1750
>-------------------------------------------------
>All opinions expressed herein are my own and reflect, in no way, those of
>my employer.
>-------------------------------
>NOTICE: The information contained in this e-mail, and attachment(s)
>thereto, is confidential and may contain attorney - client privileged
>communications. If you are not the intended recipient, you are hereby
>notified that any dissemination, distribution, or copying of this
>communication is strictly prohibited. If you have received this
>communication in error, please notify the sender immediately and delete
>the e-mail from your computer system without retaining any copies. Thank
>you.
>
>
>
>
>Greg Stigers <[log in to unmask]>
>10/12/2005 02:32 PM
>Please respond to
>"Greg Stigers" <[log in to unmask]>
>
>
>To
>"Larry Simonsen" <[log in to unmask]>, <[log in to unmask]>
>cc
>
>Subject
>Re: ftp'ing from a linux box to mpe
>
>
>
>
>
>
>When you send the file, you want to issue something like
>send extract.txt EXTRACT;REC=n,,F,ASCII;DISC=m
>to specify the file attributes on MPE. They are very much like you would
>use
>in a build command.
>
>Greg Stigers
>
>
>
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|