Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
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

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 InternetOpenUrland access the resources directly. For more information about direct resource access, see Accessing URLs Directly.

See Also

Concepts

FTP Sessions