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.

Entry Description<br />

Automatic Upload<br />

ekclientneeds The level of response the client requests. An application<br />

may want to receive only the file name, all the data, or<br />

nothing. The values are:<br />

fullxml - full XML data about the upload<br />

filename - just the file name, no XML data<br />

none - no data returned<br />

The default is "filename." This chapter describes how to<br />

generate code for the fullxml value.<br />

ekclientversion The version of the upload module on the client side.<br />

This allows the server side to determine what the client<br />

supports. The version must be 1.0 or higher to support<br />

the upload mechanism. Error check this.<br />

If no version is sent, this field returns the file name only.<br />

Backward compatibility is always assumed, so if the<br />

client version is higher than the server component, the<br />

server component uses the highest version format that it<br />

supports.<br />

extension_id The file extension given as an ID. This can be used to<br />

categorize the file in a database.<br />

The ASP sample processes this value into an ID<br />

number. The client editor will echo this operation.<br />

Most likely, the server side wants to determine the ID.<br />

extensions The list of valid extensions contained in the<br />

configuration XML data. An example value is:<br />

"gif,jpg,png,jpeg,jif"<br />

The receiving client should examine these extensions to<br />

ensure the file being uploaded is acceptable. If the file<br />

extension is not acceptable, set the 'discard' attribute of<br />

the 'FILEINFO' element to true.<br />

See Also: ”discard” on page 470<br />

filename The name of the local file. Normally, this is a full local<br />

path that does not match a file location on the server. An<br />

example is: C:\Inetpub\wwwroot\kewl.gif<br />

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

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

Saved successfully!

Ooh no, something went wrong!