RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IOPConvert.TempDir Property

Specifies the directory where temporary files for attachments are saved.

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

When the application receives an attachment as the value of a parameter (or the return value) of the current method on the invokable interface, it 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 temporary files for attachments are written.

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!