Monday, May 6, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6177  / 1 Year ago, wed, february 22, 2023, 7:11:36

This is a very specific question. I'm a lawyer from Chile, the thing is we use a webpage to check on the state of our judiciary cases.



The problem when I started using Ubuntu (and Chromium) is that when I clicked a word document in the web-portal it didn't give me the option is viewing it in the browser. Moreover, it gave me the option of downloading it, but the extension of the file instead of being .docx was .do by default (and the file name is always DownloadFile.do). It took me a while to figure out that if I added the .docx to .do I could download and open the word document (which is a lot of trouble considering the number of files I need to check constantly and not save in my PC). PDF documents could downloaded correctly, but no opened in the browser.



screenshot



I thought that using Chrome instead of Chromium would fix the problem, but it only helped with the PDF files, not the .docx ones.



If you wish to try the website and check the problem, either go directly to this page or browse from http://civil.poderjudicial.cl/ by entering "Rol Interno: C-18271-2011" and "Tribunal de Origen: 4° Juzgado Civil de San Miguel" (at the bottom) and then clicking "Consulta". Don't worry, this information is public and I'm only using it as an example so you can help me with the .do files.


More From » google-chrome

 Answers
2

.do is a web extension, not the file you are after downloading. In this case the link you are clicking that ends in .do should be pushing the docx but your browser is being handed the .do file itself.



You can test this by opening the developer tools (menu, tools, developer tools) then click on the timeline tab. When you click the link for your file you should get a delivery code of 200 (success) and the file name that was delivered. In this case it will be the .do file.



Short version: The file being delivered is .do instead of .docx. You can try renaming to .docx, but we have no way of knowing if that will do anything for you as we don't know what is actually being delivered.


[#31464] Thursday, February 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
errettas

Total Points: 160
Total Questions: 118
Total Answers: 91

Location: Laos
Member since Fri, Sep 11, 2020
4 Years ago
;