Essential .NET toolkit for focused business application development.
An essential set of 167 flexible, reliable and high-performance controls and libraries.
Here is an example of using the XceedQuickFtp control's ReceiveMultipleFiles method with ATL. Includes error handling. Uses the #import compiler directive.
#import "XceedFtp.dll" named_guids no_namespaceCoInitialize( NULL );try{ IXceedQuickFtpPtr piQuickFtp( CLSID_XceedQuickFtp );piQuickFtp->License( _bstr_t( L"your license key ) ); piQuickFtp->ReceiveMultipleFiles( "192.168.0.200", 21, "anonymous", "guest", "Upload\\My_Files\\*", FALSE, "e:\\download", FALSE );}catch ( const _com_error xErr ){ printf( "Error : %s\n", ( const WCHAR* ) xErr.Description );}catch( ... ){ printf( "Unexpected error" );}CoUninitialize();return 0;