BugTrapper Posted March 14, 2019 Share Posted March 14, 2019 I use UniSession.SendFile() and I added MIME-Typ: MimeTable.AddMimeType('apk','aplication/octet-stream',false) But no download happens. How can I get it to work ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 Hello, Are you using a hyperserver? Quote Link to comment Share on other sites More sharing options...
BugTrapper Posted March 14, 2019 Author Share Posted March 14, 2019 No, sorry, I have read in this forum, that in HyperServer one can add file extensions, I know, but I do not use hyperserver. Quote Link to comment Share on other sites More sharing options...
BugTrapper Posted March 14, 2019 Author Share Posted March 14, 2019 Maybe 'application/octet-stream' is wrong ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 20 minutes ago, BugTrapper said: MimeTable.AddMimeType('apk','aplication/octet-stream',false) Where did you add? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin MimeTable.AddMimeType('apk','aplication/octet-stream', False); end; Quote Link to comment Share on other sites More sharing options...
BugTrapper Posted March 14, 2019 Author Share Posted March 14, 2019 procedure TUniServerModule. UniGUIServerModuleCreate(Sender: TObject ); begin MimeTable.AddMimeType Quote Link to comment Share on other sites More sharing options...
BugTrapper Posted March 14, 2019 Author Share Posted March 14, 2019 Would be nice if it would work :-) and I not needed to write here, but doesn't work :-( Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 Which build are you using? Quote Link to comment Share on other sites More sharing options...
BugTrapper Posted March 14, 2019 Author Share Posted March 14, 2019 Good idea, I have to look tomorrow, or other question: from which version should it work ? I have only handy here yet. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 1 minute ago, BugTrapper said: from which version should it work ? I just clarify If you want we can use TeamViewer Quote Link to comment Share on other sites More sharing options...
BugTrapper Posted March 14, 2019 Author Share Posted March 14, 2019 Do you have private email ? Then I could give you the web site. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 You can send me a PM Quote Link to comment Share on other sites More sharing options...
alfr Posted March 15, 2019 Share Posted March 15, 2019 Perhaps only a spelling problem? One ’p’ is missing in application. ’application/octet-stream’ 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.