rtalmeida Posted May 19, 2017 Share Posted May 19, 2017 Is the command below possible? Or how can I download the image.UniSession.SendFile (UniImage1.CurrImgUrl); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 19, 2017 Share Posted May 19, 2017 Hi, Try: procedure TMainForm.UniButton1Click(Sender: TObject); var sfname: string; begin sfname := UniServerModule.StartPath + UniImage1.CurrImgUrl; UniSession.SendFile(sfname, 'NewFileName' + ExtractFileExt(sfname)); end; Best regards, Quote Link to comment Share on other sites More sharing options...
rtalmeida Posted May 19, 2017 Author Share Posted May 19, 2017 It worked perfectly, thank you very much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.