[FileSystem] File downloaded from the path is not downloaded exactly as uploaded.

Forge Component
(33)
Published on 2019-02-21 by João Portela
33 votes
Published on 2019-02-21 by João Portela

Hi,

  In my web application, I am storing the binary files in the local drives by using file system.  While fetching back the files and downloaded, it is in unsupported format, both image and pdf files.


Note:

  • Files saved in the file server can be opened and it is in proper manner in the local drives.
  • Mime type in the download widget is mentioned correctly.

Herewith am attaching oml for better clarification.



Regards,

Porselvan G.

Porselvan G wrote:

Hi,

  In my web application, I am storing the binary files in the local drives by using file system.  While fetching back the files and downloaded, it is in unsupported format, both image and pdf files.


Note:

  • Files saved in the file server can be opened and it is in proper manner in the local drives.
  • Mime type in the download widget is mentioned correctly.

Herewith am attaching oml for better clarification.



Regards,

Porselvan G.

Hi Porselvan,

Your Root var has what value?

You need to pass the full path: 

Full path including the file name (e.g.: c:\temp\test.txt).