Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PString PFTPClient::GetSystemType (  )

Get the type of the remote FTP server system, eg Unix, WindowsNT etc.

Returns:
String for the type of system.

Definition at line 115 of file ftpclnt.cxx.

References PInternetProtocol::ExecuteCommand(), PString::Find(), and PString::Left().

{
  if (ExecuteCommand(SYST)/100 != 2)
    return PString();

  return lastResponseInfo.Left(lastResponseInfo.Find(' '));
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index