I’m having trouble publishing my server works with dreamweaver and tested fine with rapid weaver but I still can’t publish
You could publish your site to a local folder on your computer and then use some 3rd party app to upload your site to your server space. Works every time without an issue (if you have your ftp credentials right).
This method is less convenient than publishing from within RW (if that actually worked), but it is fool-proof. I use the Transmit ftp client for my publishing for years, with no problems.
Have you tried a restart of your computer w/ a fresh upload? That works for me from time to time.
Another idea would be to create a 1 page “hello world” project and try to upload it. That can rule out a corruption issue with your project.