Section 4: Upload Settings
[flixpub_conf.js]

File upload settings. More...


Modules

 FTP settings
 These variables control FTP upload.
 HTTP POST settings
 These variables control HTTP POSTing.
 Redirection settings
 These variables control redirection after the upload.

Variables

var upload_mode
 Mode [number].
var upload_sub_domain
 Subdomain [string].
var upload_next_page_error
 Redirect url for users after uploads fail [string].
var upload_max_attempts
 Max upload attempts [string].

Detailed Description

This section contains documentation for the variables that control file upload mode and upload destination sub domain.

Variable Documentation

var upload_mode

Controls mode used for file uploading.

Examples

For FTP uploading, set upload_mode to kUploadModeFtp.

    var upload_mode = "kUploadModeFtp";


For upload via HTTP Form POST, set upload_mode to kUploadModeHttpFormPost.

    var upload_mode = "kUploadModeHttpFormPost";


For upload via HTTP binary application/octet-stream POST, set upload_mode to kUploadModeHttpBinPost.

    var upload_mode = "kUploadModeHttpFormPost";

var upload_sub_domain

Your Publisher plugins are configured to work only with pages served from your domain. If you would like to store uploaded files at a URL that includes a subdomain, enter the subdomain name here. Leave this value empty ("") if you are not using a subdomain.

Note:
upload_sub_domain applies to all uploads.

Example

    // Ordinary domain:  http://example.com/
    var upload_sub_domain = "";

    // Subdomain:  http://movies.example.com/
    var upload_sub_domain = "movies";

var upload_next_page_error

If the length of the upload_next_page_error string is non-zero, the user's browser will be directed to upload_next_page_error via a document.location = upload_next_page_error;

var upload_max_attempts

Upload will be attempted upload_max_attempts times before the user is informed of failure.

Remarks:
It is recommended that you keep this setting at the default until you have confirmed that your upload settings are working under normal circumstances.


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