If you are downloading directly from the Unix server you should(!) only need to 
specify ASCII mode:

FTP unixserver
USER .... 
...
ASCII
GET anyoldfile

BUt I think the issue that the op had is that the file was transfered to a 
Windows system first, in binary mode, and thus had Unix EOL instead of WIndows 
EOL.  So connecting to the WIndows server and using aSCII mode does not solve 
the problem.  The problem is solved best by properly transmitting it from Unix 
to WIndows using something (Such as FTP with ASCII mode) that translates the 
Unix EOL to WIndows EOL during that process (before z/OS tries to get it).

-- 

Frank Swarbrick
Applications Architect - Mainframe Applications Development
FirstBank Data Corporation - Lakewood, CO  USA
P: 303-235-1403


On 3/18/2010 at 10:08 AM, in message
<1910aea19cd2554fb59403184ebe4381027b1fb...@mmoexchmbs01.jhacorp.com>, Hal
Merritt <[email protected]> wrote:
> Where/how, exactly, are these options set? Is there a z/os client 
> action/command that will work? For example, can I:
> 
> FTP unixserver
> USER .... 
> ...
> QUOTE ascii_upload_enable=YES
> QUOTE ascii_download_enable=YES
> 
> GET anyoldfile
> 
> 
>  
> 
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
> Of McKown, John
> Sent: Thursday, March 18, 2010 10:52 AM
> To: [email protected] 
> Subject: Re: FTP problem
> ..snip
> 
> Ah, yes the vsftpd server problem where you need to set ascii_upload_enable 
> and ascii_download_enable to YES (default is NO).
> 
> --
> John McKown 
> Systems Engineer IV
> IT
> 
> Administrative Services Group
> 
> HealthMarkets(r)
> 
>  
> NOTICE: This electronic mail message and any files transmitted with it are 
> intended
> exclusively for the individual or entity to which it is addressed. The 
> message, 
> together with any attachment, may contain confidential and/or privileged 
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or 
> distribution 
> is strictly prohibited. If you have received this message in error, please 
> immediately advise the sender by reply email and delete all copies.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

>>> 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to