DW could not have affected your online files overnight, that makes no sense.
Locally, I have heard of DW crashing and essentially zeroing out a file that was open causing the code to go blank.
Did the program crash while uploading?
If not, we're going to need a lot more info about your workflow and site set up.
Could you post a link to your uploaded page so we can take a look?