A
Altan Tunaboylu
Hello.i'm using these APIs.they are OK.
Public Declare Function InternetOpenW Lib "wininet.dll" Alias
"InternetOpenW" (ByVal sAgent As String, ByVal nAccessType As Int32, ByVal
sProxy As String, ByVal sProxyBypass As String, ByVal nFlags As Int32) As
Int32
Public Declare Function InternetConnectW Lib "wininet.dll" Alias
"InternetConnectW" (ByVal hInternet As Int32, ByVal ServerName As String,
ByVal ServerPort As Int16, ByVal sUserName As String, ByVal sPassword As
String, ByVal nService As Int32, ByVal nFlags As Int32, ByVal nContext As
Int32) As Int32
But ,when i wanna use these,i've got "SystemNotSupportedExecption".what is
wrong?
Public Declare Function FtpDeleteFileW Lib "wininet.dll" Alias
"FtpDeleteFileW" (ByVal hFtpSession As Long, ByVal lpszFileName As String)
As Boolean
Public Declare Function FtpRenameFile Lib "wininet.dll" Alias
"FtpRenameFileA" (ByVal hFtpSession As Long, ByVal lpszExisting As String,
ByVal lpszNew As String) As Boolean
Public Declare Function FtpGetFile Lib "wininet.dll" Alias "FtpGetFileA"
(ByVal hConnect As Long, ByVal lpszRemoteFile As String, ByVal lpszNewFile
As String, ByVal fFailIfExists As Long, ByVal dwFlagsAndAttributes As Long,
ByVal dwFlags As Long, ByRef dwContext As Long) As Boolean
Public Declare Function FtpPutFile Lib "wininet.dll" Alias "FtpPutFileA"
(ByVal hConnect As Long, ByVal lpszLocalFile As String, ByVal
lpszNewRemoteFile As String, ByVal dwFlags As Long, ByVal dwContext As Long)
As Boolean
Altan
Public Declare Function InternetOpenW Lib "wininet.dll" Alias
"InternetOpenW" (ByVal sAgent As String, ByVal nAccessType As Int32, ByVal
sProxy As String, ByVal sProxyBypass As String, ByVal nFlags As Int32) As
Int32
Public Declare Function InternetConnectW Lib "wininet.dll" Alias
"InternetConnectW" (ByVal hInternet As Int32, ByVal ServerName As String,
ByVal ServerPort As Int16, ByVal sUserName As String, ByVal sPassword As
String, ByVal nService As Int32, ByVal nFlags As Int32, ByVal nContext As
Int32) As Int32
But ,when i wanna use these,i've got "SystemNotSupportedExecption".what is
wrong?
Public Declare Function FtpDeleteFileW Lib "wininet.dll" Alias
"FtpDeleteFileW" (ByVal hFtpSession As Long, ByVal lpszFileName As String)
As Boolean
Public Declare Function FtpRenameFile Lib "wininet.dll" Alias
"FtpRenameFileA" (ByVal hFtpSession As Long, ByVal lpszExisting As String,
ByVal lpszNew As String) As Boolean
Public Declare Function FtpGetFile Lib "wininet.dll" Alias "FtpGetFileA"
(ByVal hConnect As Long, ByVal lpszRemoteFile As String, ByVal lpszNewFile
As String, ByVal fFailIfExists As Long, ByVal dwFlagsAndAttributes As Long,
ByVal dwFlags As Long, ByRef dwContext As Long) As Boolean
Public Declare Function FtpPutFile Lib "wininet.dll" Alias "FtpPutFileA"
(ByVal hConnect As Long, ByVal lpszLocalFile As String, ByVal
lpszNewRemoteFile As String, ByVal dwFlags As Long, ByVal dwContext As Long)
As Boolean
Altan