remote edit download location

When the remote edit is "overwriting" an earlier edit...where is that file stored during edit. In other words, where does the file archived that is being edited?