Is it possible to download the file with extension is not from original extension?

Let see! I upload the img file which is “.png” extension and i will change it into “.dat” for my example extension. Is there a way to download the original extension of that img file? Thank You in Advance!

Sure. You create a FolderItem with the .png extension and load the binary stream into that File.