Part.setFilename

Sets the "filename" parameter on the Content-Disposition and also sets the "name" parameter on the Content-Type.

Note: The filename string should be in UTF-8.

class Part
void
setFilename
(
string filename
)

Parameters

filename string

the file name