I've had problems on and off with executing this task, using D7.
I create sites on localhost , then I ftp the files to live server.
FTPing the whole sites folder doesn't work, sometimes causes errors, how should I upload the sites folder properly?
So what I have done is upload the sites/all and sites/default/files separately, and I take out the .htacess file from the sites/default/files folder and keep the original one in there...
But that's a pain in the ass, shouldn't it simply be delete the complete sites folder on the server and FTP the one from locahost?