Claude,
The 'quote' is not FTP commnad. It's the FTP client you're using command that directs it to send whatever follows to the remote FTP server. The FTP command in this case is 'site'. IOW, drop 'quote'
ofto.ftpcommand('site ...',...)
>I am using FTP CLASS 202 to FTP files to VM and MVS. I need to issue commands such as
>
>quote site fixrecfm in VM
>quote site lrecl nnn in VM and MVS
>quote site recfm(fb) in MVS
>quote site space(n,m) in MVS
>quote site rlse in MVS
>
>My problem is that if command
>
>ofto.ftpcommand('quote ...',...)
>
>I get the error message
>
>500 unknown 'quot' command
>
>
--sb--