15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FileName<br />

FileSize<br />

FileType<br />

Automatic Upload<br />

If the file is an image or a thumbnail is specified, this value is placed within an<br />

tag. If the file is not an image, and no thumbnail is specified, this value is<br />

placed within an tag.<br />

Parameters<br />

Example<br />

Parameter Description<br />

id The value to use as an ID.<br />

fileObj.FileID("img1027")<br />

Description<br />

This returns the resulting file name. It is equivalent to what is normally returned<br />

from the EkFileSave method.<br />

It is a non-modifiable value.<br />

Example<br />

strNewFileName = fileObj.FileName()<br />

Description<br />

This returns the size of the file in bytes.<br />

Example<br />

iSize = fileObj.FileSize()<br />

Description<br />

This specifies the file type. If this method is not called, EWepAutoSvr tries to<br />

determine file type from the file’s extension or the file type sent by the client.<br />

The server side script calls this method when processing changes to file type, or<br />

when the file type is not the expected file type. For example, a .BMP file is<br />

converted to a .GIF file, or a Word document is converted to a .PDF file.<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 484

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!