Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

FormPoster.addFile

Adds a file (upload file path specification) to the MIME message under construction, as in INPUT TYPE=FILE.

This method has two variants:


FormPoster.addFile

Adds a file (upload file path specification) to the MIME message under construction, as in INPUT TYPE=FILE.

Syntax

Parameters

sParamName
The parameter name.

sValue
Value of the parameter (usually the file name).

sFileName
Path of the file to add.

sMIMEType
String containing the MIME type of the file.

Returns

A boolean value.

Example

See Also

addTextValue
addURL


FormPoster.addFile

Adds a file (upload file path specification) to the MIME message under construction, as in INPUT TYPE=FILE.

Syntax

Parameters

sParamName
The parameter name.

sValue
Value of the parameter (usually the file name).

sFileName
Path of the file to add.

Returns

A boolean value.

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.