can anyone tell me that what is wrong with this code it returns the error of syntax error. can anyone fix it ?
dos.writeBytes(twoHyphens + boundary + lineEn
dos.writeBytes("Content-Disposition: form-data; name=\"uploaded_file\";\"filename=\""+ fileName + "\"" + lineEnd);
double qoutes are not used within double qoutes, you need to put "\" (backslash)