Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm now impelmenting a simple download utility. I don't know why chrome need a temporary file when downloading from the Internet and then rename it, instead of downloading the file directly with its name. For file consistency? Or other reasons?

Thanks and best regards.

share|improve this question

closed as not constructive by TFM, ChrisF, Ƭᴇcʜιᴇ007, Karan, Nifle Feb 2 '13 at 21:37

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Ask the Chrome developers. Unless one of us is one of them, this question cannot be definitively answered. –  mdpc Feb 2 '13 at 3:43
    
Personally, if I were a Chrome developer, I might do it this way so users don't edit still-downloading files. But yeah, we aren't the ones in charge, so it's anyone's guess. –  Marcus Chan Feb 2 '13 at 3:49
    
@MarcusChan Thank you for the guess :). –  Summer_More_More_Tea Feb 2 '13 at 5:02
    
@mdpc You're right, but there is not website superdeveloper.com :). Anyway, thanks for your comment. –  Summer_More_More_Tea Feb 2 '13 at 5:03
    
Doesn't Chrome have a SDK for developing addons? Why not check what's defined in there? That way, you don't have to guess yourself, or ask people who don't develop apps. –  TFM Feb 2 '13 at 6:33

1 Answer 1

Many downloading programs create temporary files that they rename to the final name after the download is complete. That way nobody can mistake a partially downloaded file with the final results.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.