Click or drag to resize
IBizFormFileService Interface
Defines manipulation methods for a file uploaded via forms.

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

The IBizFormFileService type exposes the following members.

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