Using the WinInet Functions for FTP Sessions
A version of this page is also available for
4/8/2010
The following table lists the Windows Internet Services (WinInet) functions that are used during FTP sessions.
Function | Description |
---|---|
Creates a new directory on the server. This function requires a handle created by InternetConnect. |
|
Deletes a file from the server. This function requires a handle created by InternetConnect. |
|
Starts file enumeration or file search in the current directory. This function requires a handle created by InternetConnect. |
|
Returns the client's current directory on the server. This function requires a handle created by InternetConnect. |
|
Retrieves a file from the server. This function requires a handle created by InternetConnect. |
|
Initiates access to a file on the server for either reading or writing. This function requires a handle created by InternetConnect. |
|
Writes a file to the server. This function requires a handle created by InternetConnect. |
|
Deletes a directory on the server. This function requires a handle created by InternetConnect. |
|
Renames a file on the server. This function requires a handle created by InternetConnect. |
|
Changes the client's current directory on the server. This function requires a handle created by InternetConnect. |
|
Writes data to an open file on the server. This function requires a handle created by FtpOpenFile. |
Note
The WinInet FTP functions are not recognized by CERN proxies. Applications that must function through CERN proxies should call InternetOpenUrl and access the resources directly. For more information about direct resource access, see Accessing URLs Directly.