Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than wininet, prefix the name with the module name and a period.
[DllImport("wininet.dll", CharSet=CharSet.Ansi, SetLastError=true, ExactSpelling=true)]
Declare Function FtpCommandA Lib "wininet.dll" _
Alternative Managed API:
Do you know one? Please contribute it!
hConnect (in) A handle returned from a call to InternetConnect.
fExpectResponse (in) A Boolean value that indicates whether the application expects a data connection to be established by the FTP server. This must be set to TRUE if a data connection is expected, or FALSE otherwise.
dwFlags(in) A parameter that can be set to one of the following values.
lpszCommand (in) A pointer to a string that contains the command to send to the FTP server.
dwContext (in) A pointer to a variable that contains an application-defined value used to identify the application context in callback operations.
phFtpCommand (out) A pointer to a handle that is created if a valid data socket is opened. The fExpectResponse parameter must be set to TRUE for phFtpCommand to be filled.
Return Values : Returns TRUE if successful, or FALSE otherwise. To get a specific error message, call GetLastError.
Tips & Tricks:
Please add some!
Dim ret As Boolean = FTPCommandA(ConnectionHandle, False, 0, sCommand, IntPtr.Zero, IntPtr.Zero)
Opens an FTP, Gopher, or HTTP session for a given site.
2/16/2012 4:02:04 AM - -220.127.116.11
Please edit this page!
Do you have...