Click here to Skip to main content
15,883,938 members
Articles / Desktop Programming / MFC

FTP Client Class

Rate me:
Please Sign up or sign in to vote.
4.85/5 (80 votes)
8 Dec 2012CPOL4 min read 766.4K   48.2K   246  
A non-MFC class to encapsulate the FTP protocol.
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="7.10"
	Name="FTPexample"
	ProjectGUID="{094BFF25-EDAF-4C51-96DA-9DEED7DE544B}"
	Keyword="MFCProj">
	<Platforms>
		<Platform
			Name="Win32"/>
	</Platforms>
	<Configurations>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory="Debug"
			IntermediateDirectory="Debug"
			ConfigurationType="1"
			UseOfMFC="2"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="0"
				PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
				MinimalRebuild="TRUE"
				BasicRuntimeChecks="3"
				RuntimeLibrary="3"
				TreatWChar_tAsBuiltInType="TRUE"
				UsePrecompiledHeader="3"
				WarningLevel="4"
				Detect64BitPortabilityProblems="TRUE"
				DebugInformationFormat="4"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				LinkIncremental="2"
				GenerateDebugInformation="TRUE"
				SubSystem="2"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"
				PreprocessorDefinitions="_DEBUG"
				MkTypLibCompatible="FALSE"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="_DEBUG"
				Culture="2057"
				AdditionalIncludeDirectories="$(IntDir)"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCXMLDataGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
			<Tool
				Name="VCManagedWrapperGeneratorTool"/>
			<Tool
				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
		</Configuration>
		<Configuration
			Name="Release|Win32"
			OutputDirectory="Release"
			IntermediateDirectory="Release"
			ConfigurationType="1"
			UseOfMFC="2"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="1"
				PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
				MinimalRebuild="FALSE"
				RuntimeLibrary="2"
				TreatWChar_tAsBuiltInType="TRUE"
				UsePrecompiledHeader="3"
				WarningLevel="4"
				Detect64BitPortabilityProblems="TRUE"
				DebugInformationFormat="3"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				LinkIncremental="1"
				GenerateDebugInformation="TRUE"
				SubSystem="2"
				OptimizeReferences="2"
				EnableCOMDATFolding="2"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"
				PreprocessorDefinitions="NDEBUG"
				MkTypLibCompatible="FALSE"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="NDEBUG"
				Culture="2057"
				AdditionalIncludeDirectories="$(IntDir)"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCXMLDataGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
			<Tool
				Name="VCManagedWrapperGeneratorTool"/>
			<Tool
				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
		</Configuration>
	</Configurations>
	<References>
	</References>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
			<File
				RelativePath=".\BlockingSocket.cpp">
			</File>
			<File
				RelativePath=".\FTPBrowseForFileAndFolder.cpp">
			</File>
			<File
				RelativePath=".\FtpClient.cpp">
			</File>
			<File
				RelativePath=".\FTPDataTypes.cpp">
			</File>
			<File
				RelativePath=".\FTPexample.cpp">
			</File>
			<File
				RelativePath=".\FTPexampleDlg.cpp">
			</File>
			<File
				RelativePath=".\FTPFileState.cpp">
			</File>
			<File
				RelativePath=".\FTPFileTreeCtrl.cpp">
			</File>
			<File
				RelativePath=".\FTPFirewallTypeComboBox.cpp">
			</File>
			<File
				RelativePath=".\FTPListParse.cpp">
			</File>
			<File
				RelativePath=".\FTPLogonInfoDlg.cpp">
			</File>
			<File
				RelativePath=".\FTPProgressDlg.cpp">
			</File>
			<File
				RelativePath=".\FTPProtocolOutput.cpp">
			</File>
			<File
				RelativePath=".\ShellImageList.cpp">
			</File>
			<File
				RelativePath=".\stdafx.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						UsePrecompiledHeader="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						UsePrecompiledHeader="1"/>
				</FileConfiguration>
			</File>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl;inc;xsd"
			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
			<File
				RelativePath=".\BlockingSocket.h">
			</File>
			<File
				RelativePath=".\Definements.h">
			</File>
			<File
				RelativePath=".\FTPBrowseForFileAndFolder.h">
			</File>
			<File
				RelativePath=".\FtpClient.h">
			</File>
			<File
				RelativePath=".\FTPDataTypes.h">
			</File>
			<File
				RelativePath=".\FTPexample.h">
			</File>
			<File
				RelativePath=".\FTPexampleDlg.h">
			</File>
			<File
				RelativePath=".\FTPFileState.h">
			</File>
			<File
				RelativePath=".\FTPFileTreeCtrl.h">
			</File>
			<File
				RelativePath=".\FTPFirewallTypeComboBox.h">
			</File>
			<File
				RelativePath=".\FTPListParse.h">
			</File>
			<File
				RelativePath=".\FTPLogonInfoDlg.h">
			</File>
			<File
				RelativePath=".\FTPProgressDlg.h">
			</File>
			<File
				RelativePath=".\FTPProtocolOutput.h">
			</File>
			<File
				RelativePath=".\rc_smart_ptr.h">
			</File>
			<File
				RelativePath=".\Resource.h">
			</File>
			<File
				RelativePath=".\ShellImageList.h">
			</File>
			<File
				RelativePath=".\stdafx.h">
			</File>
		</Filter>
		<Filter
			Name="Resource Files"
			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
			<File
				RelativePath=".\res\Download.avi">
			</File>
			<File
				RelativePath=".\res\Filecopy.avi">
			</File>
			<File
				RelativePath=".\res\FTPexample.ico">
			</File>
			<File
				RelativePath=".\res\FTPexample.manifest">
			</File>
			<File
				RelativePath=".\FTPexample.rc">
			</File>
			<File
				RelativePath=".\res\Upload.avi">
			</File>
		</Filter>
	</Files>
	<Globals>
		<Global
			Name="RESOURCE_FILE"
			Value="FTPexample.rc"/>
	</Globals>
</VisualStudioProject>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions