[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool FtpGetFile(IntPtr hConnect, string remoteFile,
string newFile, [MarshalAs(UnmanagedType.Bool)] bool failIfExists,
int flagsAndAttributes, int flags, IntPtr context);
Declare Function FtpGetFile Lib "wininet.dll" (ByVal hConnect As IntPtr, _
ByVal remoteFile As String, ByVal newFile As String, _
<MarshalAs(UnmanagedType.Bool)> ByVal failIfExists As Boolean, _
ByVal flagsAndAttributes As Integer, ByVal flags As Integer, _
ByVal context As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
None.
None.
Please add some!
Please add some!
Do you know one? Please contribute it!
Direct Link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/FtpGetFile.asp