Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ftp class and
Message
From
01/12/2006 21:32:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01171019
Message ID:
01174357
Views:
9
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 ()
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform