Compartir a través de


Using the WinInet Functions for FTP Sessions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table lists the Windows Internet Services (WinInet) functions that are used during FTP sessions.

Function Description

FtpCreateDirectory

Creates a new directory on the server. This function requires a handle created by InternetConnect.

FtpDeleteFile

Deletes a file from the server. This function requires a handle created by InternetConnect.

FtpFindFirstFile

Starts file enumeration or file search in the current directory. This function requires a handle created by InternetConnect.

FtpGetCurrentDirectory

Returns the client's current directory on the server. This function requires a handle created by InternetConnect.

FtpGetFile

Retrieves a file from the server. This function requires a handle created by InternetConnect.

FtpOpenFile

Initiates access to a file on the server for either reading or writing. This function requires a handle created by InternetConnect.

FtpPutFile

Writes a file to the server. This function requires a handle created by InternetConnect.

FtpRemoveDirectory

Deletes a directory on the server. This function requires a handle created by InternetConnect.

FtpRenameFile

Renames a file on the server. This function requires a handle created by InternetConnect.

FtpSetCurrentDirectory

Changes the client's current directory on the server. This function requires a handle created by InternetConnect.

InternetWriteFile

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.

See Also

Concepts

FTP Sessions