Desktop Functions: Smart Device Functions:
|
FtpPutFile (wininet)
C# Signature:
[DllImport("wininet.dll", SetLastError=true, CharSet=CharSet.Auto)] VB Signature:
Declare Function FtpPutFile Lib "wininet.dll" Alias "FtpPutFileA" (ByVal hFtpSession As IntPtr, ByVal lpszLocalFile As String, ByVal lpszRemoteFile As String, ByVal dwFlags As Integer, ByVal dwContext As Integer) As Boolean User-Defined Types:None. Notes:Call InternetOpen() and InternetConnect() to get a valid hConnect handle. // dwFlags Use one of these values to control the transfer type:
const int FTP_TRANSFER_TYPE_UNKNOWN = 0x00000000; // Defaults to FTP_TRANSFER_TYPE_BINARY Another way to say it, this one in VB style:
Const INTERNET_FLAG_TRANSFER_BINARY As Integer = &H2 Use one or more of these flags to control file caching:
const int INTERNET_FLAG_HYPERLINK = 0x00000400; Tips & Tricks:Please add some! Sample Code:Please add some! Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|