I'm not sure why it would drop a file once it is placed. Are you actually seeing confirmation via your FTP client that the file is being placed?
I would recommend checking file permissions for both that file and the folder you are pushing files to for starters.
I suppose it is possible that your particular host has special permissions for that particular file name - database.php as they might be using it for their own purposes somewhere.
I would contact your hosting provider.