SmartFTP FTP Library
IFTPParser Interface
IFTPParser
IDL
interface IFTPParser : IUnknown;

C++

#import "libid:7A3A786C-EB8C-43b3-BC10-8D09ACF5D195"

#include <atlcom.h>

::CoInitializeEx(NULL, COINIT_MULTITHREADED);
CComPtr<sfFTPLib::IFTPParser> ftpParser;
HRESULT hr = ftpParser.CoCreateInstance(__uuidof(sfFTPLib::FTPParser));
ftpParser.Initialize(sfFTPLib::ftpParserFormatUNIX);

static const WCHAR line[] = L"-rw-------   1 user group        3907 Feb 21 13:55 finger.txt";

 CComPtr<sfFTPLib::IFTPItem> ftpItem;
 if (SUCCEEDED(ftpParser->ParseLine(line, &ftpItem))
 {
 }
}
IFTPParser Methods 
Description 
This is Initialize, a member of class IFTPParser. 
This is ParseLine, a member of class IFTPParser. 
What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.