我在使用ftpfindfirstfile检查ftp站点是否存在某个文件的时候,如果文件不存在老是返回12003而不是18呢
hFindFile = FtpFindFirstFile(lnginetconn, "xxx/aa.a", lpFileData, 0, 0)'"xxx/aa.a"是一个不存在的文件
If hFindFile Then
FtpFileExists = True
Else
FtpFileExists = False
MsgBox Err.LastDllError'老是12003
Err.Clear
End If