ExecFileTransfer

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > RemoteAccess >

ExecFileTransfer

Description

It sends or receives a file containing commands to execute.

Syntax

call DBWShell("ExecFileTransfer mode DBWCmdFile" )

Parameters

mode

send | receive

DBWCmdFile

the name of a file containing a list of file commands to be executed.
The format of this file is: <file command> <argument>
Where: <file command> can be
SendTo
FileCopy
FileSetReadOnly
FileSetHidden
FileUnlock

For the SendTo command, the <argument> is the destination COMPANY_ID

For all the others, the <argument> is the full file path in the Local File System