Thanks in advance.
Could any one tell me why we required to put”\” and “;” while downloading any file from web application.
It takes 2 strings as parameters. ; is use as a token in the second string. So it knows that the first command is attachment with it's parameter filename="myFile.pdf". \ is an escape code so in your string, the symbole " will appear in it.
Joined: Oct 08, 2006
The quotes around the filename are in fact only required when the filename contains spaces.