|
|
|
@@ -178,8 +178,8 @@ public class UploadController extends BaseController { |
|
|
|
FileOutputStream fos = null; |
|
|
|
if(fileFormat.equalsIgnoreCase(".jpg") || fileFormat.equalsIgnoreCase(".jpeg")) { |
|
|
|
String localImgFileName = Constant.fileDirectory + File.separator + tempFileName + fileFormat; |
|
|
|
tempFileName = UUID.randomUUID().toString(); |
|
|
|
String localNewImgFileName = Constant.fileDirectory + File.separator + tempFileName + fileFormat; |
|
|
|
String tempFileName1 = UUID.randomUUID().toString(); |
|
|
|
String localNewImgFileName = Constant.fileDirectory + File.separator + tempFileName1 + fileFormat; |
|
|
|
BufferedInputStream fs = null; |
|
|
|
File localFile = new File(localImgFileName); |
|
|
|
fos = new FileOutputStream(localFile); |
|
|
|
|