mustafau Posted February 21, 2017 Share Posted February 21, 2017 merhaba, demoda ki aşağıdaki download linkini kullandım. indiriyior ama 0 byte gösteriyor. byte sorunu olsa dedim doc dosyası 9byte txt 40 byte. ondanda kaynaklanmamış. ama txt olarak sorunsuz indiriyor. doc, docx vb de bunu yapıyor. xe8 ve demo surumum 99.96.1321 Fadi:=edt_DOSYAYOLU.Text; UniSession.SendFile(UniServerModule.StartPath+'dosyalar\'+ Fadi); Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted February 21, 2017 Share Posted February 21, 2017 Merhaba servermodule OnCreate içine aşağıdaki kodu ekler misiniz? MimeTable.AddMimeType ('doc', 'word'); MimeTable.AddMimeType ('docx', 'word'); Quote Link to comment Share on other sites More sharing options...
mustafau Posted February 21, 2017 Author Share Posted February 21, 2017 ekledim. yine aynı. olmadı. dosyayı yine unigui form ile sunusuya atıyorum. sorun yok. sunucuda dosya sıkıntısız acılıyor. ama dosyayı farklı bir makineye indirmeye sıra gelince sıfır byte ile indiriyor. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted February 21, 2017 Share Posted February 21, 2017 Bir test projesi gönderir misiniz 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.