Sorry for not responding sooner, but I was diverted from the VFP application for a while. I got back to it today.
My problem is that I cannot get the site command to work for my MVS host. I tried "site recfm(fb)" and "quote site recfm(fb). The first says it does not recognized "site" and the second says. unknown "quot" command.
For VM the command "site varrecfm" or "site fixrecfm nnnn" work (nnnn is a number).
Any suggestion appreciated.
>>Unfortunately dropping the "quote" and keeping just "site" does not work either. I was hoping there was a way to get it to work via the FTP client.
>
>It works for me with MS FTP server
>
>oFtp = NEWOBJECT("FTP_SERVICE", "ftp.prg")
>? oFTP.OpenInternet("anonymous", "a@b.com","ftp.microsoft.com", "21")
>? oFTP.Ftpcommand("SITE HELP", 2, 0, NULL)
>? oFTP.getextendederrormsg ()
>? oFTP.Ftpcommand("SITE STATS", 2, 0, NULL)
>? oFTP.getextendederrormsg ()
>