set_filename


Description:

public void set_filename (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:

this

a Part object

filename

the file name