skip to main content

Appendices : HTTPData.Params class (com.iscobol.rts.HTTPData.Params) : Constructor and methods : addFile

addFile
Adds a disk file to the parameters. This method is useful to implement file upload features. The parameter created by this method is suitable for the doPostMultipart method.
General format
void addFile ( paramName, fileName )
Syntax rules
1.
paramName is an alphanumeric data item that specifies the parameter name.
2.
fileName is an alphanumeric data item that specifies the disk file name.
General Rules
1.
fileName can be either just the file base name, a relative file path or an absolute file path.
2.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left