xPCFSDirItems

Get contents of specified folder on target computer

Prototype

void xPCFSDirItems(int port, const char *path, dirStruct *dirs, int numDirItems);

Note

Do not use this C API type definition. Support for this type definition relies on support for the C API, which will be removed in a future release.

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

path

Enter the path on the target computer.

dirs

Enter the structure for receiving the contents of the folder.

numDirItems

Enter the number of items in the folder.

Description

The xPCFSDirItems function copies the contents of the target computer folder specified by path. The xPCFSDirItems function copies the listing into the dirs structure, which must be of size numDirItems. Use the xPCFSDirStructSize function to obtain the size of the folder for the numDirItems parameter.

Introduced in R2007a