Hey Mark,
oFTP=CREATEOBJECT("inetctls.inet.1")
oFtp.OpenURL("
ftp://ftpserver.com")
oFTP.Execute("GET remotefile.txt c:\localfile.txt")
This should get you started.
>Hi John,
>
>Thanx 4 ur reply.I have checked the MSDN but the explanation isn't up 2 much and the code is in VB. is there any other sites which will explain this in VFP6.0 format?
>
>Thanks in advance (John)
>
>Cheers
>
>Mark!!!!!
>
>****in wine theres truth****
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05