Connecting Tech Pros Worldwide Help | Site Map

FTP with the WinInet dll.

Gerry Abbott
Guest
 
Posts: n/a
#1: Nov 13 '05
Hi All,
Im trying to get som ftp functionality into my application, and have some
code I sourced from this NG. I'm trying to tailor it for my needs, but need
a better understanding of whats happening. The library is the winInet.dll.
In the code sample there is a variety of function calls from this dll. Is
there a resource for describing these functions, and parameters of such a
dll.

One function i wish to use is

-----------------------------------------------------------
Private Declare Function FtpDeleteFile Lib "wininet.dll" _
Alias "FtpDeleteFileA" ( _
ByVal hFtpSession As Long, _
ByVal lpszFileName As String _
) As Boolean
------------------------------------------------------------

I presume i also need to make a connection first. using this function.

----------------------------------------------------------------------------------------
' Connect to the internet
Private Declare Function InternetConnect Lib "wininet.dll" Alias
"InternetConnectA" ( _
ByVal hInternetSession As Long, _
ByVal sServerName As String, _
ByVal nServerPort As Integer, _
ByVal sUserName As String, _
ByVal sPassword As String, _
ByVal lService As Long, _
ByVal lFlags As Long, _
ByVal lContext As Long _
) As Long
----------------------------------------------------------------------------------------

Any help / advice welcome


Thanks in advance.





--
Gerry (fish) Abbott,
Messenger gerryabbott
Skype abbottgerry
ICQ 205-363-429





Closed Thread