SmartFTP FTP Library
IFTPConnection::ReadDirectoryFromCommand Method

Reads the content of the current working directory.

HRESULT ReadDirectoryFromCommand(
    [in] BSTR command, 
    [out, retval] IFTPItems** retval

The function sends the command supplied in the argument directly to the server and opens a data connection for the directory listing. 

The values of the MLST and LISTOption properties are ignored.

ReadDirectoryFromCommand("LIST a*") will result in the "LIST a*" command sent to the server.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.