|
![]() |
![]() |
version 2003
PA_ReceiveDocumentFromServer (docName; data) → long
Parameter | Type | Description | |
docName | char * | → | Name of the received file |
data | char * | ← | Pointer to the document data |
Function result | long | ← | Received data size in bytes |
Description
While running under 4D Client, the routine
PA_ReceiveDocumentFromServer
lets the 4D Plug-in read a document located on the server machine.
Pass the name of the document to read on the server side in
docName
. The 4D plug-in MUST pass the short name of the document NOT the pathname to the document. The document must be located in the same folder/directory than the structure.
Pass a pointer to a buffer that will be filled with the data fork of the document in
data
.
The routine returns the size of received data in bytes.
NOTE
: