Part.setFilename

void setFilename(string filename)

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.

Parameters

filenamethe file name