zipDocument Method

Specifies that the generated document should be added to a zip archive.

XFRX#LISTENER::zipDocument(ArchiveName [, AddToArchive [, DeleteSourceDocument]])

Parameters

ArchiveName

 The file name of the zip archive.

AddToArchive

 Specifies, if the file should be added to existing archive (.T.) or if a new archive should be created (.F.).

DeleteSourceDocument

 If set to .T., the source document will be deleted after adding to the archive.

Remarks

Applies To: XFRX#LISTENER, oXFRX

XFRX version: 24.0 for oXFRX


You can send these three parameters to XFRX either via this method or as the last three parameters of the SetParams method. This method is available for your convenience of you prefer to fill in XFRXListener properties and call SetParams without parameters.

Examples

m.loXFRX=EVALUATE([xfrx("XFRX#LISTENER")])
m.loXFRX.zipDocument("my.zip")

RELEASE m.loXFRX