Connecting Tech Pros Worldwide Help | Site Map

FTP with the WinInet dll.

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 12:41 PM
Gerry Abbott
Guest
 
Posts: n/a
Default FTP with the WinInet dll.

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






 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.