file.getTempFileName The getTempFileName function is established to get a unique name for creating a temp file or folder. Sample var tempname = file.getTempFileName(); // tempname is a string like "efw##########.tmp" API CallingReturning file . getTempFileName ( )String