RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOPToSoapDomConvert.TempDir Property

Specifies the directory where temporary files for attachments are saved.

Pascal
property TempDir: string;
C++
__property AnsiString TempDir;

When the application that includes this TOPToSoapDomConvert instance receives an attachment as the value of a parameter (or the return value) of the current method, TOPToSoapDomConvert writes the attachment to a temporary file. This temporary file becomes the value of the CacheFile property on the TSoapAttachment object that represents the attachment. 

Use TempDir to specify the directory where TOPToSoapDomConvert writes the temporary files for attachments.

Note: If TempDir is not set, the application uses the default temporary directory. On Windows, this is the directory that the Windows API GetTempPath returns. On Linux, this is obtained from the TMPDIR environment setting (or, if TMPDIR is not set, /tmp/)
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!