Path Property

 Object: SoftArtisans.SAFile
 Syntax: Path
 Type: String
 Read/Write: Read/Write
 Description: This property defines the default directory for storing files. It also defines the location of the cache files before a final save is executed.

SA-FileUp must be able to write into this directory. Set permissions accordingly.

For this property to have effect, it must be set before any form elements are referenced. Once the first form element is referenced, the entire HTTP Post stream must be read and the uploaded files included in the stream must be cached.

You can set the path by using either this property (the file-specific Path property for the SAFile object), or by using the FileUp (for all files) Path property. By setting the Path property in the FileUp object (e.g., upl.Path), the path is set automatically for all SAFile objects (objFile.Path).

If no value is set, SA-FileUp uses the system-defined Temporary Path (which is returned by the WIN32 GetTempPath() routine). Typically, this is "C:\TEMP".

 

Previous Page Next Page