António,
I appreciate your help and I am getting a book next week that will hopefully help me out, by using your code, or a derivitive of I am now trying to use the FtpFindFirstFile function and it blows VFP out of the water with a Fatal error.
I Was just wondering if you had an success with this command.
Here is what I am using as a command:
lcFileMask = ' '
lcWin32FindData = space( MAX_PATH )
lnFileHndl = FtpFindFirstFile( lnFTPSession, @lcFileMask, lcWin32FindData, 0, INTERNET_FLAG_RELOAD )
Thanks for any help you can give.
Bruce
Bruce Crane
Software Engineer
Regulus Integrated Solutions, LLC - Napa