CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Downloads don't work

by Alexander Bulei » 08 Nov 2013 18:33

Hi George,

George wrote:DownloadUrl not working when trying to download image.
pascal code
wFileDownload.DownloadUrl('http://127.0.0.1:10700/fstorage/Desert.jpg');


Link is correct, other files such as 7z downloads as expected.


The jquery plugin doesn't allow to download the files with following extention: *.txt, *.ini, *.html, *htm, *.jpeg, *.png and some more... through url.

But if you your files are located in server, you can use DownloadFileName(const AFilename: string) method.

We need some time to resolve/add this functionality.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by George » 08 Nov 2013 19:18

But if you your files are located in server, you can use DownloadFileName(const AFilename: string) method.

Ok, i will use DownloadFileName until you make improvement)
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

Previous

Return to JQFileDownload

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.