pro_imaj Posted May 18, 2016 Share Posted May 18, 2016 Merhaba; Download Demo2 örneğinde aşağıdaki koddaki dosya uzantısı pdf haricindeki dosyaları nasıl indirebilirim. Herhangi bir uzantı olabilir. Sadece PDF, Txt, Doc, Xls vb dosyalarımı indirebiliyoruz, herhangi bir uzantıyı nasıl indire biliriz. *Denediğim uzantılarda hata vermiyor fakat indirme işlemide yapmıyor nedeni nedir acaba? UniSession.SendFile(UniServerModule.FilesFolderPath+ 'unipdf.pdf'); Teşekkürler. Quote Link to comment Share on other sites More sharing options...
loQsoft Posted May 19, 2016 Share Posted May 19, 2016 Merhaba SeverModule Create event'ına Aşağıdaki satırı ekleyiniz, MimeTable.AddMimeType('ini', 'text/plain', False); 'ini', uzantılı dosyaları indirir. veya, MimeTable.AddMimeType('msg', 'Outlook Mails', False); 'msg', uzantılı dosyaları indirir. Saygılarımla, 1 Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted May 19, 2016 Author Share Posted May 19, 2016 Merhaba; @loQsoft Cevabınız için çok teşekkür ederim, sorunsuz çalıştı. Saygılarımla. Teşekkürler. 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.