An even easier way and more universal maybe using HTTP is to just hit the URL where the file might exist via http and then check for an HTTP 404 error (Not found). Http since it's stateless is easier and doesn't require an FTP server.
DO wwHttp
LOCAL loHttp as wwHttp
loHttp = CREATEOBJECT("wwHttp")
loHttp.HttpGet("http://west-wind.com/wconnect/InvalidFile.html")
? loHttp.cErrorMsg
lcStatus = loHttp.cResultCode
? lcStatus
IF lcStatus = "404"
? "File not found on server"
ENDIF
Depends though whether you can get at the flles you need to via either HTTP or FTP... Either requires a server.
+++ Rick ---
>What's the best way to see if a certain "Remote file Exists?" (in a folder such as /public_html/images)
>Using HTTP or FTP or however else. Doesn't matter.
>
>Been working hard on writing code for WinINet to do the same thing. So far, I've got the ftp connection, changing folders, etc. all working.
>But for the life of me, I can't figure out how to use the FtpFindFirstFile() function. Just not enough description or sample code to understand it.
>
>Any help would be greatly appreciated.
>
>Thanks.