INFO: List of WinInet API FTP Samples

Veralteter Haftungsausschluss für KB-Inhalte

Dieser Artikel wurde für Produkte geschrieben, für die Microsoft keinen Support mehr anbietet. Deshalb wird dieser Artikel im vorliegenden Zustand bereitgestellt und nicht mehr aktualisiert.

Summary

The Microsoft Win32 Internet (WinInet) application programming interface (API) provides stand-alone client applications with easy access to standard Internet protocols, such as Gopher, File Transfer Protocol (FTP), and Hypertext Transfer Protocol (HTTP), which abstract the protocols into a high-level interface that is familiar to Win32 developers.

This article gives a list of samples that show how to use the APIs of WinInet to do FTP. The samples are in C, C++, and Microsoft Visual Basic. This article does not have a complete list of all samples and all articles that show coding samples for FTP with the APIs for WinInet. However, the samples in this article and the articles that are in the "References" section give you a good understanding of how to do a variety of tasks by using the APIs of WinInet and how to add FTP functionality to your applications.

More Information

If you want to expand your knowledge of the APIs for WinInet beyond the samples specified here, view the following topics on the MSDN.


Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs.
If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites:

Microsoft Certified Partners - https://partner.microsoft.com/global/30000104

Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

References

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

175179 SAMPLE: VBFTP.EXE: Implementing FTP Using WinInet API from VB
195653 SAMPLE: Using FTP WinInet APIs in Visual Basic with SimpleFtp
185519 FILE: Vbinet.exe WinInet API Declarations for Visual Basic
238273 SAMPLE: Ftpcmd.exe Shows WinInet FtpCommand() Function
216214 SAMPLE: FTP with CERN-Based Password Protected Proxy Using WinInet

The following sample is included with the platform software development kit (SDK):

FTPJr sample: Demonstrates how to create and how to submit an HTTP request.
Location: \Microsoft Platform SDK\Samples\Web\networking\ftpjr

You can download the following sample from the MSDN:

Eigenschaften

Artikelnummer: 289253 – Letzte Überarbeitung: 13.07.2009 – Revision: 1

Feedback