It appears that FTPFileExists doesn't work with some FTP servers. Use FTPDir instead. Here is how Dim( results, string ) Dim( found , boolean ) FTPDir( FTPAcct, FTPUser, FTPPw, TargetFile, results ) IsEqual( "", results, found ) : I'm trying to determine if a particular file exists on an ftp server. I am : using the following command: FTPFileExists( "ftpserver", : "id", "password", "//apps//prod//jeff.txt", : found ) Each time I debug this script it returns "true" for my : found variable even if the file does not exist on the ftp server. Any : ideas what I'm doing wrong? : Thanks, : Jeff
|