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

BOOL PFTPClient::SetType ( RepresentationType  type )

Set the transfer type.

TRUE if transfer type set.
typeRepresentationTypeof file to transfer

Definition at line 124 of file ftpclnt.cxx.

References PInternetProtocol::ExecuteCommand().

Referenced by GetDirectoryNames().

  static const char * const typeCode[] = { "A", "E", "I" };
  PAssert((PINDEX)type < PARRAYSIZE(typeCode), PInvalidParameter);
  return ExecuteCommand(TYPE, typeCode[type])/100 == 2;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index