ImageViewerForm::DownloadFile(void)
{
AppLogDebug("ENTER");
- String DestPath = App::GetInstance()->GetAppRootPath() + TEMP_FILE_PATH_WEB_FILE;
+ String DestPath = App::GetInstance()->GetAppSharedPath() + PATH_DATA_DIRECTORY + TEMP_FILE_PATH_WEB_FILE;
if (File::IsFileExist(DestPath) == false)
{
AppLogDebug("EXIT 1(%s)", GetErrorMessage(GetLastResult()));
Image* pImage = new (std::nothrow) Image();
pImage->Construct();
- String destPath = App::GetInstance()->GetAppRootPath() + TEMP_FILE_PATH_WEB_FILE;
+ String destPath = App::GetInstance()->GetAppSharedPath() + PATH_DATA_DIRECTORY + TEMP_FILE_PATH_WEB_FILE;
r = pImage->EncodeToFile(*pBitmap, IMG_FORMAT_JPG, destPath, true);
if (r == E_SUCCESS)