Declare Function FtpFindFirstFile Lib "wininet.dll" _
.
For VB.net FtpFindFirstFile will {or May} return the folder and not a file.
Searches the specified directory of the given FTP session. File and directory entries are returned to the application in the [WIN32_FIND_DATA] structure.
5/10/2012 9:46:27 AM - -86.80.122.64
.
after FtpFindFirstFile will then return a file. For VAX servers the return string
Searches the specified directory of the given FTP session. File and directory entries are returned to the application in the [WIN32_FIND_DATA] structure.
Searches the specified directory of the given FTP session. File and directory entries are returned to the application in the [WIN32_FIND_DATA] structure.
Private Function FindFirstFileEx(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATA, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As Int32, dwAdditionalFlags As Integer) As Int32
.
Public Shared Function FindFirstFileExW(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATAW, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As IntPtr, dwAdditionalFlags As Integer) As IntPtr
Private Function FindFirstFileEx(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATA, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As Int32, dwAdditionalFlags As Integer) As Int32
.
Public Shared Function FindFirstFileExW(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATAW, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As IntPtr, dwAdditionalFlags As Integer) As IntPtr