It's a warning. The code will run just fine. If you want to get rid of the warning, add the following to the end of your Main.PRG, but don't ever call it!
PROCEDURE Dummy
PUBLIC laDirArray[1]
ENDPROC
>Hi,
>I have been using Robert Abrams FTP program/command for some time and have
>incorporated it into a foxpro project, with prg files, etc. Abrams's FTP program
>consists of two prg files. My project as such works great!
>
>However, when I tried to do a build for my project, I keep getting the same error,
>having to do with the two Abrams's prgs. The error says this
>
>Program c:\d\option\ftpu.prg has the following errors:
> Unknown LADIRARRAY - Undefined
>
>Abrams wrote his prgs in FoxPro 5.0. But I can't figure out what's wrong or causing
>this error. Here is his code, modified, to go to an ftp site and download some
>stuff. Can anyone see what is wrong.
>Thanks so much,
>Steve
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer