Method HttpMessagePart() :saveContent() Foundation

Saves the content of a message part to a file.

Syntax
 
:saveContent( <cFileName> ) --> lSuccess
Parameters
<cFileName>
<cFileName> is the name of the file into which the part is saved.
Return

:saveContent() returns the locical value .T. (true) when the save operation succeeds. Otherwise, the logical value .F. (false) is returned.

Description

:saveContent() saves the content of a message part to a file on disk. The operation may fail if the file cannot be written. The corresponding error code can be determined with the function FError().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.