Upload Mode Values
[flixpub_constants.js]

File upload modes. More...

Variables

var kUploadModeFtp = 0
 FTP upload.
var kUploadModeHttpFormPost = 1
 Upload file using HTTP form POST.
var kUploadModeHttpBinPost = 2
 Upload file using HTTP binary POST.
var kUploadModeHttp = kUploadModeHttpFormPost
 Deprecated. Old method for specifying HTTP upload.
var PUBLISH_METHOD_FTP = kUploadModeFtp
 Deprecated.
var PUBLISH_METHOD_HTTP = kUploadModeHttp
 Deprecated.

Detailed Description

This section documents the named helper variables that are defined in the file flixpub_constants.js, and used in the reference application to control how files are uploaded.

Special Note

Because of Javascript run time implementation differences between Internet Explorer and the Mozilla compatible browsers (Firefox, Netscape, Flock, etc), these "constants" are really var declarations made at global scope.

Instructions for Using The Named Variables

These variables are defined in flixpub_constants.js. You can find flixpub_constants.js in the SDK samples directory.
To use the variables, you must add the file to your site and include it in your page by using a script tag, like this:

<script type="text/javascript" src="flixpub_constants.js"></script>
The script tag for flixpub_constants.js should come before other script tags that reference javascript files that use the publisher plug-in API.

Variable Documentation

var kUploadModeFtp = 0

kUploadModeFtp has two uses:

See also:
FtpDestinationFile
FtpMode
publishFile()
PublishMethod

var kUploadModeHttpFormPost = 1

kUploadModeHttpFormPost has two uses:

Since:
Available as of plug-in release v3.0.1.2.
See also:
File Publishing: HTTP Upload Information
HttpFile
HttpPath
HttpServer
publishFile()
PublishMethod

var kUploadModeHttpBinPost = 2

kUploadModeHttpBinPost has two uses:

Since:
Available as of plug-in release v3.0.1.2.
See also:
File Publishing: HTTP Upload Information
HttpFile
HttpPath
HttpServer
publishFile()
PublishMethod

var kUploadModeHttp = kUploadModeHttpFormPost

Deprecated:
Use kUploadModeHttpFormPost
Since:
Deprecated as of plug-in release v3.0.1.2.
Setting PublishMethod to kUploadModeHttp will make calls to publishFile() upload via HTTP POST to HttpServer.

See also:
File Publishing: HTTP Upload Information
HttpFile
HttpPath
HttpServer
publishFile()
PublishMethod

var PUBLISH_METHOD_FTP = kUploadModeFtp

Deprecated:
Use kUploadModeFtp.

var PUBLISH_METHOD_HTTP = kUploadModeHttp

Deprecated:
Use kUploadModeHttp.


On2 Flix Publisher documentation, generated on Mon Jan 7 18:13:01 2008 by doxygen 1.5.4 On2 Technologies, Inc