Problem solved. This was exactly the problem. vsftpd always forces a binary transfer by default.
I uncommented these lines in the vsftpd.conf and that solved it: ascii_upload_enable=YES ascii_download_enable=YES Thanks all for your help. Samir Reddahi Mark Post <[email protected]> Sent by: Linux on 390 Port <[email protected]> 11/01/2010 19:52 Please respond to Linux on 390 Port <[email protected]> To [email protected] cc Subject Re: FTP transfer of parmfile and sles11.exec for a SLES 11 installation >>> On 1/11/2010 at 07:56 AM, Samir Reddahi <[email protected]> wrote: > I have a strange problem when I FTP the parmfile and the sles11.exec from > the SLES11 installation DVD to a z/VM (5.4) user. These files have a > record size of 1 after the FTP. > I'm not really familiar with FTP in z/VM. Does anybody see what I'm doing > wrong? > > Command: > cd boot/s390x > >>>CWD boot/s390x > 250 Directory successfully changed. > Command: > ascii > >>>TYPE a > 200 Switching to ASCII mode. > Command: > locsite fix 80 > Command: > get parmfile SLES11.parmfile > >>>PORT 10,40,50,57,4,75 > 200 PORT command successful. Consider using PASV. > >>>RETR parmfile > 150 Opening BINARY mode data connection for parmfile (71 bytes). Note that this is saying the transfer is going to be in binary mode, not ASCII. What FTP server are you using? (I'm guessing vsftp which IMO is braindead in this regard.) You might want to consider "pushing" the files from wherever you have them to CMS, instead of pulling them from CMS. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 - Confidentiality Notice - This communication and the information it contains is intended (a) for the person(s) or organization(s) named above and for no other person or organization, and (b) may be confidential, legally privileged and protected by law. Unauthorized use, copying or disclosure of any of it may be unlawful! If you receive this communication in error, please notify us immediately, destroy any copies and delete it from your computer system. Please consult our disclaimer on our site www.securex.eu Thank you. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
