Click or drag to resize
BizFormFileService Class
Contains uploaded file manipulation methods for forms.
Inheritance Hierarchy
SystemObject
  CMS.OnlineFormsBizFormFileService

Namespace: CMS.OnlineForms
Assembly: CMS.OnlineForms (in CMS.OnlineForms.dll) Version: 12.0.0
Syntax
C#
public class BizFormFileService : IBizFormFileService

The BizFormFileService type exposes the following members.

Constructors
  NameDescription
Public methodBizFormFileService
Top
Methods
  NameDescription
Public methodDeleteFile
Public methodDeleteTempFile
Deletes temporary file previously saved via the SaveUploadedFileAsTempFile(HttpPostedFileBase, String, String, Int32, Int32, Int32) method which was not promoted to a permanent file.
Public methodGetTempFileName
Gets temporary file name for an identifier.
Public methodPromoteTempFile
Saves temporary file previously saved via the SaveUploadedFileAsTempFile(HttpPostedFileBase, String, String, Int32, Int32, Int32) method as a parmenent form file.
Public methodSaveUploadedFile
Saves uploded form file to the file system. The file can be optionally resized if it is an image file. The type of the file is determined from the postedFile's FileName.
Public methodSaveUploadedFileAsTempFile
Saves uploaded form file as a temporary file to the file system. The file can be optionally resized if it is an image file. The type of the file is determined from the postedFile's FileName.
Public methodTempFileExists
Checks whether file previously saved via the SaveUploadedFileAsTempFile(HttpPostedFileBase, String, String, Int32, Int32, Int32) still exists.
Top
See Also