Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ftp class and
Message
From
11/12/2006 11:48:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01171019
Message ID:
01176578
Views:
12
I found that for our version of MVS at least, using a DOS window to invoke the FTP and then using the "REMOTEHELP SITE" command that the allowed parameters are
SITE RECFM=recfm LRECL=lrecl SPACE(m,n) RLSE
seems to work. The "HELP SITE" command did not return enough information to be help full.

The "SITE HELP" command returns a message saying the "HELP" is not a valid site command.


Thanks for your help.

>What "SITE HELP" returns?
>
>>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
Reply
Map
View

Click here to load this message in the networking platform