XferSetWorkDir Method

Navigation:  Reference Guide > File Transfer >

XferSetWorkDir Method

Previous pageReturn to chapter overviewNext page

Sets up the work directory for a communication channel (direct serial connection or modem connection).

XferSetWorkDir(short Index, BSTR WorkDir, VARIANT_BOOL *Result);

Parameters

ChannelID

    A channel ID (0-7) used to identify a communication channel.

WorkDir

    A Pointer to a null-terminated string containing the work directory for a file-upload or a file-download session.

Result

    If the method succeeds, the value of variable pointed to by Result is VARIANT_TRUE, otherwise the value is VARIANT_FALSE.