SmartFTP FTP Library
Example

C++

// Import SmartFTP FTP Library
#import "libid:7A3A786C-EB8C-43b3-BC10-8D09ACF5D195" version("1.5")

sfFTPLib::IIdentServerPtr pServer;
if(SUCCEEDED(pServer.CreateInstance(__uuidof(sfFTPLib::IdentServer))))
{
  // init ident server
  pServer->User = L"test@test.com";
  pServer->System = L"UNIX";

  // starts ident server and increases ref count
  pServer->Start();
  // decreases ref count and stops ident server if 0
  pServer->Stop();
  // terminates internal thread.
  pServer->Quit();
}
Copyright (c) by SmartSoft Ltd. All rights reserved.