风吹小机机 Posted January 3, 2021 Share Posted January 3, 2021 HI,Please help me. How can I upload the report file designed by FastReport in Delphi development environment to the server How to download the report file of the server I use the TUniFileUpLoad control to upload without FR3 format Download FR3 file from server I use it uniApplication.UniSession.SendStream (m, q.fieldbyname ('repname '). Asstring); Method Download also has no response Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 3, 2021 Share Posted January 3, 2021 24 minutes ago, 风吹小机机 said: I use the TUniFileUpLoad control to upload without FR3 format Download FR3 file from server I use it uniApplication.UniSession.SendStream (m, q.fieldbyname ('repname '). Asstring); Method Download also has no response Hello, Can you add this mime-type? procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin MimeTable.AddMimeType('fr3', 'application/octet-stream', False); end; Quote Link to comment Share on other sites More sharing options...
风吹小机机 Posted January 4, 2021 Author Share Posted January 4, 2021 22 hours ago, Sherzod said: Hello, Can you add this mime-type? procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin MimeTable.AddMimeType('fr3', 'application/octet-stream', False); end; Thank you very much. It's done MimeTable.AddMimeType('fr3','fr3'); 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.