Hi all

Can anyone shed alittle light on how to use WIN32_FIND_DATA?
I've written a program to populate a database aitomatically.
When it picks up files from my local pc theres no problem,
but I also need to pick up files from an ftp site, so using Inet1 control I've set the directory path as follows:

Inet1.URL = "ftp://ftp.etc...etc....com"

DirPath = Inet1.URL

The following line causes the program to crash with a nasty memory addressing error message:

FindNextHandle = FindNextFile(FindHandle, FindData)

Where - Dim FindData As WIN32_FIND_DATA

Can anyone tell me what I'm doing wrong -

Cheers
Skeen