Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Explanation of how downloaded files are handled?

  • 2 respostas
  • 1 tem este problema
  • 4 visualizações
  • Última resposta por FireFaux2

more options

Strange question...

My company uses an EDR (endpoint detection and response) solution in its security stack. We've noticed a difference between how Firefox handles files downloaded from the internet when compared with Chrome, IE, and Safari.

One of the things EDR solutions record is when files are written to disk. If you download a file from the web -- we'll call it foo.rtf -- using Chrome, IE, or Safari on Windows you see a temp file being written to the TEMP directory while the file is being downloaded then you see the Chrome, IE, or Safari process write the actual file (foo.rtf) to the Downloads folder (or wherever you told your browser to put it).

When observing Firefox, we see the tmp file being written to the TEMP directory but then never see Firefox actually write the file foo.rtf to the downloaded location.

I guess my question is: does Firefox download the complete file as foo.tmp; move foo.tmp to the desired download location; then rename it?

Any guidance is appreciated.

Strange question... My company uses an EDR (endpoint detection and response) solution in its security stack. We've noticed a difference between how Firefox handles files downloaded from the internet when compared with Chrome, IE, and Safari. One of the things EDR solutions record is when files are written to disk. If you download a file from the web -- we'll call it foo.rtf -- using Chrome, IE, or Safari on Windows you see a temp file being written to the TEMP directory while the file is being downloaded then you see the Chrome, IE, or Safari process write the actual file (foo.rtf) to the Downloads folder (or wherever you told your browser to put it). When observing Firefox, we see the tmp file being written to the TEMP directory but then never see Firefox actually write the file foo.rtf to the downloaded location. I guess my question is: does Firefox download the complete file as foo.tmp; move foo.tmp to the desired download location; then rename it? Any guidance is appreciated.

Todas as respostas (2)

more options

Firefox should move the file to the final destination folder once the download has finished. If this doesn't happen the a possible cause is that other software keeps a lock (handle) on this file that prevents Firefox from completing the download properly. This can be security software that tries to scan the file already in the temp folder and isn't waiting until Firefox has moved the file.

It is possible that security software (anti-virus, firewall) is causing the problem. Try to disable security software temporarily to see if that makes a difference.

Boot the computer in Windows Safe mode with network support to see if that has effect in case security software is causing problems.

more options

Thank you for the reply. I'll have to do some xperf digging. Seems unlikely that an anti-malware software would only be issuing lock handles when Firefox writes files, but I'll keep going. I'll let you know what I find.