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); 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'); 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. 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now