StaObjectServer.AddFile

This function saves a file in the cache, return an id for later access. If not accessed for secondsTillExpire seconds, item will be removed from cache.

Syntax Parameters Return Value
Function StaObjectServer.AddFile( _
    pathname As String, _
    makeCopy As Boolean, _
    deleteOnExpire As Boolean, _
    secondsTillExpire As Long) As String
  • pathname [in]

Type: String

  • makeCopy [in]

Type: Boolean

  • deleteOnExpire [in]

Type: Boolean

  • secondsTillExpire [in]

Type: Long

String