>We have been using the following code to look for files on our ftp server. However, on day last week, this stopped working. Any idea on how we can get this working again?
>
>***My code.
>lc_dir = "//myipaddress/c$/SomeDir/*.*"
>ln_files = ADIR(afiles, lc_dir)
>***
>
>The problem is that "ln_files" always reports zero even though there are files in this directory. This use to work.
>
>Also, if I type this into the command window, I get a "Invalid Path or File Name" error message:
>***
>DIR "//myipaddress/c$/SomeDir/*.*"
>***
>
>Why did this use to work for us? Should this still work?
>
>Thanks,
>
>Jerry
It may be a security patch that's been recently installed. Try using an actual share name, not the C$ share.