Winscok的问题2~
Winscok连线到服务器后~要怎么判断指定目录或档案~是否已经存在~P.S FTP上传用的
[ 本帖最后由 wube 于 2011-8-25 11:13 编辑 ]
Private Function FileExists(strFileName As String) As Boolean On Error GoTo ERROR_HANDLER FileExists = (GetAttr(strFileName) And vbDirectory) = 0 ERROR_HANDLER: End Function